diff options
| author | Li Jin <dragon-fly@qq.com> | 2025-11-05 13:09:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-05 13:09:31 +0800 |
| commit | 2c40c5f766eaab3e90cab6a54f6b513ff60e7e3e (patch) | |
| tree | b15e850167210ae841b65392adc9195407d7ca41 | |
| parent | f0ffeb1f3efc3b21e1ddceccaafef22e7128fa5f (diff) | |
| download | yuescript-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.yml | 2 |
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 |
