update uploading artifact job

This commit is contained in:
MaysWind
2025-09-27 14:46:48 +08:00
parent 786796d457
commit 2423b37cbb
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -84,7 +84,7 @@ jobs:
- name: Pull and save packaged files for ${{ matrix.arch }}
run: |
VERSION=${{ needs.build-and-push.outputs.image-tag }}
VERSION=${{ needs.build-linux-docker.outputs.image-tag }}
IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${VERSION}
docker pull --platform ${{ matrix.arch }} ${IMAGE}
cid=$(docker create "${IMAGE}")
@@ -98,6 +98,6 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ezbookkeeping-v${{ needs.build-and-push.outputs.image-tag }}-${{ matrix.arch_alias }}
path: ezbookkeeping-v${{ needs.build-and-push.outputs.image-tag }}-${{ matrix.arch_alias }}.tar.gz
name: ezbookkeeping-${{ github.ref_name }}-${{ matrix.arch_alias }}
path: ezbookkeeping-${{ github.ref_name }}-${{ matrix.arch_alias }}.tar.gz
if-no-files-found: error
+1 -1
View File
@@ -83,7 +83,7 @@ jobs:
- name: Pull and save packaged files for ${{ matrix.arch }}
run: |
TAG=${{ needs.build-and-push.outputs.image-tag }}
TAG=${{ needs.build-linux-docker.outputs.image-tag }}
IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${TAG}
docker pull --platform ${{ matrix.arch }} ${IMAGE}
cid=$(docker create "${IMAGE}")