Skip to content

Commit 9d1e406

Browse files
authored
Merge pull request #2535 from github/angelapwen/update-artifacts-tests
PR Checks: update artifacts tests
2 parents f31ce56 + dafc7dd commit 9d1e406

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/debug-artifacts-failure.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
name: PR Check - Debug artifacts after failure
44
env:
55
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6+
CODEQL_ACTION_ARTIFACT_V4_UPGRADE: true
67
on:
78
push:
89
branches:
@@ -61,7 +62,7 @@ jobs:
6162
runs-on: ubuntu-latest
6263
steps:
6364
- name: Download all artifacts
64-
uses: actions/download-artifact@v3
65+
uses: actions/download-artifact@v4
6566
- name: Check expected artifacts exist
6667
shell: bash
6768
run: |

.github/workflows/debug-artifacts-upgrade.yml .github/workflows/debug-artifacts-legacy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Checks logs, SARIF, and database bundle debug artifacts exist and are accessible
2-
# with download-artifact@v4 when CODEQL_ACTION_ARTIFACT_V4_UPGRADE is set to true.
2+
# with download-artifact@v3 when CODEQL_ACTION_ARTIFACT_V4_UPGRADE is set to false.
33
name: PR Check - Debug artifact upload using artifact@v2
44
env:
55
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6-
CODEQL_ACTION_ARTIFACT_V4_UPGRADE: true
6+
CODEQL_ACTION_ARTIFACT_V4_UPGRADE: false
77
on:
88
push:
99
branches:
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-latest
7070
steps:
7171
- name: Download all artifacts
72-
uses: actions/download-artifact@v4
72+
uses: actions/download-artifact@v3
7373
- name: Check expected artifacts exist
7474
shell: bash
7575
run: |

.github/workflows/debug-artifacts.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: PR Check - Debug artifact upload
33
env:
44
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5+
CODEQL_ACTION_ARTIFACT_V4_UPGRADE: true
56
on:
67
push:
78
branches:
@@ -67,7 +68,7 @@ jobs:
6768
runs-on: ubuntu-latest
6869
steps:
6970
- name: Download all artifacts
70-
uses: actions/download-artifact@v3
71+
uses: actions/download-artifact@v4
7172
- name: Check expected artifacts exist
7273
shell: bash
7374
run: |

0 commit comments

Comments
 (0)