From 57642194fa27110cd6585426a32016c22e8185fd Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 15 Oct 2024 20:49:09 +0800 Subject: [PATCH] Fix zip path --- .github/workflows/release-versoview.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-versoview.yml b/.github/workflows/release-versoview.yml index 2e268cdd..70b9b80f 100644 --- a/.github/workflows/release-versoview.yml +++ b/.github/workflows/release-versoview.yml @@ -103,14 +103,19 @@ jobs: runs-on: ubuntu-latest needs: [build-linux, build-others] steps: - - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 - with: - merge-multiple: true + + - working-directory: ./verso-x86_64-pc-windows-msvc + run: zip -r ../verso-x86_64-pc-windows-msvc.zip * + - working-directory: ./verso-aarch64-apple-darwin + run: zip -r ../verso-aarch64-apple-darwin.zip * + - working-directory: ./verso-x86_64-unknown-linux-gnu + run: zip -r ../verso-x86_64-unknown-linux-gnu.zip * + - name: Publish release run: | RELEASE_TAG=versoview-v$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[] | select(.name == "verso") | .version') git fetch --tags --quiet if ! git show-ref --tags --verify --quiet "refs/tags/${RELEASE_TAG}" ; then - gh release create ${RELEASE_TAG} ./* + gh release create ${RELEASE_TAG} ./*.zip fi