From 2c40c5f766eaab3e90cab6a54f6b513ff60e7e3e Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 5 Nov 2025 13:09:31 +0800 Subject: Modify luarocks upload condition in macos.yml. [skip CI] Updated the condition for luarocks upload to skip if the commit message contains '[skip Upload]'. --- .github/workflows/macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') 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: sudo luarocks make make test - name: luarocks upload - if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/') && !contains(github.event.head_commit.message, '[skip Upload]') run: | ./yue -e spec/inputs/luarocks_upload.yue ${{ secrets.LUAROCKS_KEY }} - name: build for luajit -- cgit v1.2.3-55-g6feb