From 8000a7314d318f28eaf1b6eca60cef30dffaa6be Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Thu, 26 Aug 2021 23:14:09 +0000 Subject: [PATCH] add release asset automaticallt Former-commit-id: 42ca74b4ab541a9358cb5fe2d82ced0d48537f00 --- .github/workflows/build-cli.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-cli.yml b/.github/workflows/build-cli.yml index 0828fa6..0093a7c 100644 --- a/.github/workflows/build-cli.yml +++ b/.github/workflows/build-cli.yml @@ -22,4 +22,14 @@ jobs: working-directory: build/ - name: Build Binary run: ./build-CLI.sh - working-directory: build/ \ No newline at end of file + 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 }} \ No newline at end of file