mirror of
https://github.com/chmln/sd
synced 2024-11-22 19:23:08 +00:00
Fix paths to release binary in "publish" action
This commit is contained in:
parent
4ccc52203a
commit
a67124b461
1 changed files with 2 additions and 2 deletions
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
|
@ -64,12 +64,12 @@ jobs:
|
||||||
|
|
||||||
- name: Strip binary
|
- name: Strip binary
|
||||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
|
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
|
- name: Upload binaries to release
|
||||||
uses: svenstaro/upload-release-action@v1-release
|
uses: svenstaro/upload-release-action@v1-release
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: target/release/sd
|
file: target/${{ matrix.target }}/release/sd
|
||||||
asset_name: sd-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}
|
asset_name: sd-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
|
|
Loading…
Reference in a new issue