mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
update uploading artifact job
This commit is contained in:
@@ -84,7 +84,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Pull and save packaged files for ${{ matrix.arch }}
|
- name: Pull and save packaged files for ${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
VERSION=${{ needs.build-and-push.outputs.image-tag }}
|
VERSION=${{ needs.build-linux-docker.outputs.image-tag }}
|
||||||
IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${VERSION}
|
IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${VERSION}
|
||||||
docker pull --platform ${{ matrix.arch }} ${IMAGE}
|
docker pull --platform ${{ matrix.arch }} ${IMAGE}
|
||||||
cid=$(docker create "${IMAGE}")
|
cid=$(docker create "${IMAGE}")
|
||||||
@@ -98,6 +98,6 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ezbookkeeping-v${{ needs.build-and-push.outputs.image-tag }}-${{ matrix.arch_alias }}
|
name: ezbookkeeping-${{ github.ref_name }}-${{ matrix.arch_alias }}
|
||||||
path: ezbookkeeping-v${{ needs.build-and-push.outputs.image-tag }}-${{ matrix.arch_alias }}.tar.gz
|
path: ezbookkeeping-${{ github.ref_name }}-${{ matrix.arch_alias }}.tar.gz
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Pull and save packaged files for ${{ matrix.arch }}
|
- name: Pull and save packaged files for ${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
TAG=${{ needs.build-and-push.outputs.image-tag }}
|
TAG=${{ needs.build-linux-docker.outputs.image-tag }}
|
||||||
IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${TAG}
|
IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${TAG}
|
||||||
docker pull --platform ${{ matrix.arch }} ${IMAGE}
|
docker pull --platform ${{ matrix.arch }} ${IMAGE}
|
||||||
cid=$(docker create "${IMAGE}")
|
cid=$(docker create "${IMAGE}")
|
||||||
|
|||||||
Reference in New Issue
Block a user