From 2263cca3687bb5c6b9c51f42d59d2249c18941a0 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 1 Nov 2023 10:30:01 +0800 Subject: Update macos.yml. [skip CI] --- .github/workflows/macos.yml | 8 ++++---- 1 file 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: brew install luarocks luarocks install busted make test + - name: luarocks upload + if: startsWith(github.ref, 'refs/tags/') + run: | + ./yue -e spec/inputs/luarocks_upload.yue ${{ secrets.LUAROCKS_KEY }} - name: build for luajit if: startsWith(github.ref, 'refs/tags/') run: | @@ -47,7 +51,3 @@ jobs: ./yue-macos-universal-luajit-so.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: luarocks upload - if: startsWith(github.ref, 'refs/tags/') - run: | - ./yue -e spec/inputs/luarocks_upload.yue ${{ secrets.LUAROCKS_KEY }} -- cgit v1.2.3-55-g6feb