use action to get artifacts working

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman 2025-11-11 15:34:56 -05:00
parent 34b9533f22
commit a70e89b2ed

View File

@ -70,10 +70,11 @@ jobs:
Build-Snapshot-Artifacts:
name: "Build snapshot artifacts"
# Runner definition: workflows/.github/runs-on.yml
# note: we explicitly do not use the magic cache feature (https://runs-on.com/caching/magic-cache/)
# since it is not compatible with artifact uploads/downloads in the same workflow (https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility)
runs-on: runs-on=${{ github.run_id }}/runner=build/extras=
runs-on: runs-on=${{ github.run_id }}/runner=build
steps:
# required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility)
- uses: runs-on/action@v2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false
@ -167,8 +168,11 @@ jobs:
name: "Acceptance tests (Linux)"
needs: [Build-Snapshot-Artifacts]
# Runner definition: workflows/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small/extras=
runs-on: runs-on=${{ github.run_id }}/runner=small
steps:
# required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility)
- uses: runs-on/action@v2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false
@ -208,6 +212,7 @@ jobs:
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
name: "Acceptance tests (Mac)"
needs: [Build-Snapshot-Artifacts]
# note: macos runners aren't supported yet for runs-on managed runners.
runs-on: macos-latest
steps:
- name: Install Cosign
@ -247,8 +252,11 @@ jobs:
name: "CLI tests (Linux)"
needs: [Build-Snapshot-Artifacts]
# Runner definition: workflows/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small/extras=
runs-on: runs-on=${{ github.run_id }}/runner=small
steps:
# required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility)
- uses: runs-on/action@v2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false