Only upload built packages to github actions artifacts, not the whole runner temp dir

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
This commit is contained in:
ohemorange 2026-05-01 14:57:45 -07:00 committed by GitHub
parent 245234f684
commit 9da1879097
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View file

@ -43,14 +43,11 @@ jobs:
shell: bash
# If the name of the tar file or artifact changes, the deploy stage will
# also need to be updated.
- name: Prepare Docker artifact
run: mv images.tar ${{ runner.temp }}
shell: bash
- name: Store Docker artifact
uses: actions/upload-artifact@v7.0.0
with:
name: docker_${{ matrix.DOCKER_ARCH }}
path: "${{ runner.temp }}"
path: "${{ github.workspace }}/images.tar"
docker_test:
name: Test ${{ matrix.DOCKER_ARCH }}
needs:

View file

@ -124,7 +124,7 @@ jobs:
uses: actions/upload-artifact@v7.0.0
with:
name: snaps_${{ env.SNAP_ARCH }}
path: "${{ runner.temp }}"
path: "${{ runner.temp }}/*.snap"
snap_run:
name: Test certbot ${{ matrix.arch-name }}
needs: