add release asset automaticallt

This commit is contained in:
Arthur Lu 2021-08-26 23:14:09 +00:00
parent fc63d5d7e1
commit 42ca74b4ab

View File

@ -22,4 +22,14 @@ jobs:
working-directory: build/ working-directory: build/
- name: Build Binary - name: Build Binary
run: ./build-CLI.sh run: ./build-CLI.sh
working-directory: build/ working-directory: build/
- name: Copy Binary to Root Dir
run: cp superscript ..
working-directory: dist/
- name: Upload Release Asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: superscript
asset_name: Superscript Linux Binary
tag: ${{ github.ref }}