From a67124b461f42348d39cc5b8c400cabc3a0f80d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolaj=20=C5=A0ujskij?= Date: Fri, 8 Oct 2021 15:31:24 +0300 Subject: [PATCH] Fix paths to release binary in "publish" action --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 563a1df..78abb3c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -64,12 +64,12 @@ jobs: - name: Strip binary if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' - run: strip target/release/sd + run: strip target/${{ matrix.target }}/release/sd - name: Upload binaries to release uses: svenstaro/upload-release-action@v1-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: target/release/sd + file: target/${{ matrix.target }}/release/sd asset_name: sd-${{ steps.version.outputs.VERSION }}-${{ matrix.target }} tag: ${{ github.ref }}