add release asset automaticallt

Former-commit-id: 42ca74b4ab
This commit is contained in:
Arthur Lu 2021-08-26 23:14:09 +00:00
parent 3e212e4502
commit 8000a7314d

View File

@ -23,3 +23,13 @@ jobs:
- 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 }}