Skip to content

Commit

Permalink
Merge pull request #2535 from github/angelapwen/update-artifacts-tests
Browse files Browse the repository at this point in the history
PR Checks: update artifacts tests
  • Loading branch information
angelapwen authored Oct 8, 2024
2 parents f31ce56 + dafc7dd commit 9d1e406
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/debug-artifacts-failure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
name: PR Check - Debug artifacts after failure
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CODEQL_ACTION_ARTIFACT_V4_UPGRADE: true
on:
push:
branches:
Expand Down Expand Up @@ -61,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Check expected artifacts exist
shell: bash
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Checks logs, SARIF, and database bundle debug artifacts exist and are accessible
# with download-artifact@v4 when CODEQL_ACTION_ARTIFACT_V4_UPGRADE is set to true.
# with download-artifact@v3 when CODEQL_ACTION_ARTIFACT_V4_UPGRADE is set to false.
name: PR Check - Debug artifact upload using artifact@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CODEQL_ACTION_ARTIFACT_V4_UPGRADE: true
CODEQL_ACTION_ARTIFACT_V4_UPGRADE: false
on:
push:
branches:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
- name: Check expected artifacts exist
shell: bash
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/debug-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: PR Check - Debug artifact upload
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CODEQL_ACTION_ARTIFACT_V4_UPGRADE: true
on:
push:
branches:
Expand Down Expand Up @@ -67,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Check expected artifacts exist
shell: bash
run: |
Expand Down

0 comments on commit 9d1e406

Please sign in to comment.