From 747803d63513d79e5bf9537f6eaffa7d14cb0fa9 Mon Sep 17 00:00:00 2001 From: lnxcz Date: Fri, 19 May 2023 22:49:11 +0200 Subject: [PATCH] fix: :bug: target dir fix --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f445525..4f57c64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: - name: 📦 Create Archive run: | - cd $CARGO_TARGET_DIR/release + cd target/${{ matrix.target }}/release if [[ "${{ matrix.archive }}" == "zip" ]]; then zip -r ${{ matrix.target }}.zip * else @@ -42,4 +42,4 @@ jobs: uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: ${{ matrix.target }}.${{ matrix.archive }} \ No newline at end of file + files: ${{ matrix.target }}.${{ matrix.archive }}