From 3aab49fe929f0098d8e2643d26a49e86c7d3cd43 Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 15 Oct 2024 21:45:34 +0800 Subject: [PATCH] Use artifacts path --- .github/workflows/release-versoview.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-versoview.yml b/.github/workflows/release-versoview.yml index 6007a7e7..e91f9dff 100644 --- a/.github/workflows/release-versoview.yml +++ b/.github/workflows/release-versoview.yml @@ -104,16 +104,20 @@ jobs: runs-on: ubuntu-latest needs: [build-linux, build-others] steps: + - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 + with: + path: artifacts - - working-directory: ./verso-x86_64-pc-windows-msvc + - working-directory: ./artifacts/verso-x86_64-pc-windows-msvc run: zip -r ../verso-x86_64-pc-windows-msvc.zip * - - working-directory: ./verso-aarch64-apple-darwin + - working-directory: ./artifacts/verso-aarch64-apple-darwin run: zip -r ../verso-aarch64-apple-darwin.zip * - - working-directory: ./verso-x86_64-unknown-linux-gnu + - working-directory: ./artifacts/verso-x86_64-unknown-linux-gnu run: zip -r ../verso-x86_64-unknown-linux-gnu.zip * - name: Publish release + working-directory: ./artifacts/verso-x86_64-pc-windows-msvc run: | RELEASE_TAG=versoview-v$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[] | select(.name == "verso") | .version') git fetch --tags --quiet