diff options
Diffstat (limited to '.github/workflows')
| -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 }} | ||
