diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/macos.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/windows.yml | 2 |
2 files changed, 3 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 |
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2327710..04d08b0 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml | |||
| @@ -24,6 +24,7 @@ jobs: | |||
| 24 | bin\windows\Win32\Debug\yue.exe spec\inputs\loops.yue -o spec\generated\5.1\loops.lua --target=5.1 | 24 | bin\windows\Win32\Debug\yue.exe spec\inputs\loops.yue -o spec\generated\5.1\loops.lua --target=5.1 |
| 25 | bin\windows\Win32\Debug\yue.exe spec\inputs\try_catch.yue -o spec\generated\5.1\try_catch.lua --target=5.1 | 25 | bin\windows\Win32\Debug\yue.exe spec\inputs\try_catch.yue -o spec\generated\5.1\try_catch.lua --target=5.1 |
| 26 | bin\windows\Win32\Debug\yue.exe spec\inputs\attrib.yue -o spec\generated\5.1\attrib.lua --target=5.1 | 26 | bin\windows\Win32\Debug\yue.exe spec\inputs\attrib.yue -o spec\generated\5.1\attrib.lua --target=5.1 |
| 27 | bin\windows\Win32\Debug\yue.exe spec\inputs\import_global.yue -o spec\generated\5.1\import_global.lua --target=5.1 | ||
| 27 | bin\windows\Win32\Debug\yue.exe spec\inputs\test\loops_spec.yue -o spec\generated\5.1\test\loops_spec.lua --target=5.1 | 28 | bin\windows\Win32\Debug\yue.exe spec\inputs\test\loops_spec.yue -o spec\generated\5.1\test\loops_spec.lua --target=5.1 |
| 28 | bin\windows\Win32\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated | 29 | bin\windows\Win32\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated |
| 29 | bin\windows\Win32\Debug\yue.exe -e "io.popen('git diff --no-index spec\\outputs spec\\generated')\read('*a') |> ((r)-> r ~= '' and (print(r) or os.exit 1))" | 30 | bin\windows\Win32\Debug\yue.exe -e "io.popen('git diff --no-index spec\\outputs spec\\generated')\read('*a') |> ((r)-> r ~= '' and (print(r) or os.exit 1))" |
| @@ -33,6 +34,7 @@ jobs: | |||
| 33 | bin\windows\x64\Debug\yue.exe spec\inputs\loops.yue -o spec\generated\5.1\loops.lua --target=5.1 | 34 | bin\windows\x64\Debug\yue.exe spec\inputs\loops.yue -o spec\generated\5.1\loops.lua --target=5.1 |
| 34 | bin\windows\x64\Debug\yue.exe spec\inputs\try_catch.yue -o spec\generated\5.1\try_catch.lua --target=5.1 | 35 | bin\windows\x64\Debug\yue.exe spec\inputs\try_catch.yue -o spec\generated\5.1\try_catch.lua --target=5.1 |
| 35 | bin\windows\x64\Debug\yue.exe spec\inputs\attrib.yue -o spec\generated\5.1\attrib.lua --target=5.1 | 36 | bin\windows\x64\Debug\yue.exe spec\inputs\attrib.yue -o spec\generated\5.1\attrib.lua --target=5.1 |
| 37 | bin\windows\x64\Debug\yue.exe spec\inputs\import_global.yue -o spec\generated\5.1\import_global.lua --target=5.1 | ||
| 36 | bin\windows\x64\Debug\yue.exe spec\inputs\test\loops_spec.yue -o spec\generated\5.1\test\loops_spec.lua --target=5.1 | 38 | bin\windows\x64\Debug\yue.exe spec\inputs\test\loops_spec.yue -o spec\generated\5.1\test\loops_spec.lua --target=5.1 |
| 37 | bin\windows\x64\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated | 39 | bin\windows\x64\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated |
| 38 | bin\windows\x64\Debug\yue.exe -e "io.popen('git diff --no-index spec\\outputs spec\\generated')\read('*a') |> ((r)-> r ~= '' and (print(r) or os.exit 1))" | 40 | bin\windows\x64\Debug\yue.exe -e "io.popen('git diff --no-index spec\\outputs spec\\generated')\read('*a') |> ((r)-> r ~= '' and (print(r) or os.exit 1))" |
