diff --git a/.github/workflows/debug-artifacts-failure.yml b/.github/workflows/debug-artifacts-failure.yml index 871f0070c6..bcc38d28aa 100644 --- a/.github/workflows/debug-artifacts-failure.yml +++ b/.github/workflows/debug-artifacts-failure.yml @@ -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: @@ -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: | diff --git a/.github/workflows/debug-artifacts-upgrade.yml b/.github/workflows/debug-artifacts-legacy.yml similarity index 94% rename from .github/workflows/debug-artifacts-upgrade.yml rename to .github/workflows/debug-artifacts-legacy.yml index 87ec73bd99..48fe6bd807 100644 --- a/.github/workflows/debug-artifacts-upgrade.yml +++ b/.github/workflows/debug-artifacts-legacy.yml @@ -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: @@ -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: | diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index c06569a126..19d11ee2f9 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -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: @@ -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: |