Fix paths to release binary in "publish" action

This commit is contained in:
Nikolaj Šujskij 2021-10-08 15:31:24 +03:00
parent 4ccc52203a
commit a67124b461

View file

@ -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 }}