diff options
author | Li Jin <dragon-fly@qq.com> | 2023-11-01 10:30:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 10:30:01 +0800 |
commit | 2263cca3687bb5c6b9c51f42d59d2249c18941a0 (patch) | |
tree | fb12aac9f84410b44758f8e9fe9f8b3db147e5e9 | |
parent | d52a0402533f535c23f4c85b07c72dc735a9eac9 (diff) | |
download | yuescript-0.20.3.tar.gz yuescript-0.20.3.tar.bz2 yuescript-0.20.3.zip |
Update macos.yml. [skip CI]v0.20.3
-rw-r--r-- | .github/workflows/macos.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index eed98e8..f5ea8c2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml | |||
@@ -20,6 +20,10 @@ jobs: | |||
20 | brew install luarocks | 20 | brew install luarocks |
21 | luarocks install busted | 21 | luarocks install busted |
22 | make test | 22 | make test |
23 | - name: luarocks upload | ||
24 | if: startsWith(github.ref, 'refs/tags/') | ||
25 | run: | | ||
26 | ./yue -e spec/inputs/luarocks_upload.yue ${{ secrets.LUAROCKS_KEY }} | ||
23 | - name: build for luajit | 27 | - name: build for luajit |
24 | if: startsWith(github.ref, 'refs/tags/') | 28 | if: startsWith(github.ref, 'refs/tags/') |
25 | run: | | 29 | run: | |
@@ -47,7 +51,3 @@ jobs: | |||
47 | ./yue-macos-universal-luajit-so.zip | 51 | ./yue-macos-universal-luajit-so.zip |
48 | env: | 52 | env: |
49 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | 53 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
50 | - name: luarocks upload | ||
51 | if: startsWith(github.ref, 'refs/tags/') | ||
52 | run: | | ||
53 | ./yue -e spec/inputs/luarocks_upload.yue ${{ secrets.LUAROCKS_KEY }} | ||