Fix typo with release

This commit is contained in:
Denis Isidoro 2020-03-16 10:34:40 -03:00
parent 3f66614818
commit 68b0054840

View file

@ -33,10 +33,13 @@ jobs:
- uses: actions/checkout@v1
- name: Build
run: scripts/action release ${{ matrix.target }}
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/tar/navi.tar.gz
tag: ${{ github.ref }}
asset_name: navi-${{ github.ref }}-${{ matrix.target }}.tar.gz
asset_name: navi-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}.tar.gz