diff options
author | Li Jin <dragon-fly@qq.com> | 2021-03-12 15:06:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 15:06:04 +0800 |
commit | ace4abab54a75138d6b64a82d9ddcfb4ef03e29b (patch) | |
tree | 0dd2291e3f93ab0f343209eb6b75ddf66dfbeb6c | |
parent | 6fc409d4e777340145795c855fe6975c86719308 (diff) | |
download | yuescript-ace4abab54a75138d6b64a82d9ddcfb4ef03e29b.tar.gz yuescript-ace4abab54a75138d6b64a82d9ddcfb4ef03e29b.tar.bz2 yuescript-ace4abab54a75138d6b64a82d9ddcfb4ef03e29b.zip |
Update ubuntu.yml
-rw-r--r-- | .github/workflows/ubuntu.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 81de782..8a94573 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml | |||
@@ -15,3 +15,14 @@ jobs: | |||
15 | - uses: actions/checkout@v1 | 15 | - uses: actions/checkout@v1 |
16 | - name: build-test | 16 | - name: build-test |
17 | run: make test | 17 | run: make test |
18 | - name: pack | ||
19 | if: startsWith(github.ref, 'refs/tags/') | ||
20 | run: zip ./linux-yue.zip ./bin/release/yue | ||
21 | - name: release | ||
22 | uses: softprops/action-gh-release@v1 | ||
23 | if: startsWith(github.ref, 'refs/tags/') | ||
24 | with: | ||
25 | files: | | ||
26 | ./linux-yue.zip | ||
27 | env: | ||
28 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||