aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2025-11-05 13:09:31 +0800
committerGitHub <noreply@github.com>2025-11-05 13:09:31 +0800
commit2c40c5f766eaab3e90cab6a54f6b513ff60e7e3e (patch)
treeb15e850167210ae841b65392adc9195407d7ca41
parentf0ffeb1f3efc3b21e1ddceccaafef22e7128fa5f (diff)
downloadyuescript-2c40c5f766eaab3e90cab6a54f6b513ff60e7e3e.tar.gz
yuescript-2c40c5f766eaab3e90cab6a54f6b513ff60e7e3e.tar.bz2
yuescript-2c40c5f766eaab3e90cab6a54f6b513ff60e7e3e.zip
Modify luarocks upload condition in macos.yml. [skip CI]
Updated the condition for luarocks upload to skip if the commit message contains '[skip Upload]'.
-rw-r--r--.github/workflows/macos.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 6dede90..ddfcd2f 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -22,7 +22,7 @@ jobs:
22 sudo luarocks make 22 sudo luarocks make
23 make test 23 make test
24 - name: luarocks upload 24 - name: luarocks upload
25 if: startsWith(github.ref, 'refs/tags/') 25 if: startsWith(github.ref, 'refs/tags/') && !contains(github.event.head_commit.message, '[skip Upload]')
26 run: | 26 run: |
27 ./yue -e spec/inputs/luarocks_upload.yue ${{ secrets.LUAROCKS_KEY }} 27 ./yue -e spec/inputs/luarocks_upload.yue ${{ secrets.LUAROCKS_KEY }}
28 - name: build for luajit 28 - name: build for luajit