Skip to content

Commit

Permalink
Fix paths to release binary in "publish" action
Browse files Browse the repository at this point in the history
  • Loading branch information
skrattaren committed Oct 8, 2021
1 parent 4ccc522 commit a67124b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit a67124b

Please sign in to comment.