diff options
| author | Li Jin <dragon-fly@qq.com> | 2023-10-31 14:26:17 +0800 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-31 14:26:17 +0800 | 
| commit | 679caf0b3cccf04774bfa4eea26ae47262ea3c91 (patch) | |
| tree | b9fd371e67f030fa07ab1e0245a3806a18d46f2d | |
| parent | ecb06ba7c20f68c0e4986224dc7af97ba9bf9293 (diff) | |
| download | yuescript-679caf0b3cccf04774bfa4eea26ae47262ea3c91.tar.gz yuescript-679caf0b3cccf04774bfa4eea26ae47262ea3c91.tar.bz2 yuescript-679caf0b3cccf04774bfa4eea26ae47262ea3c91.zip | |
Update ubuntu.yml. [skip CI]
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/ubuntu.yml | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 525475e..8915093 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml | |||
| @@ -12,10 +12,14 @@ jobs: | |||
| 12 | build: | 12 | build: | 
| 13 | name: Build & Test | 13 | name: Build & Test | 
| 14 | runs-on: ubuntu-latest | 14 | runs-on: ubuntu-latest | 
| 15 | if: "startsWith(github.ref, 'refs/tags/') || !contains(github.event.head_commit.message, '[skip CI]')" | ||
| 15 | steps: | 16 | steps: | 
| 16 | - uses: actions/checkout@v2 | 17 | - uses: actions/checkout@v2 | 
| 17 | - name: build-test | 18 | - name: build-test | 
| 18 | run: make test | 19 | run: | | 
| 20 | sudo apt install -y lua5.4 liblua5.4-dev luarocks | ||
| 21 | sudo luarocks --lua-version 5.4 install busted | ||
| 22 | make test | ||
| 19 | - name: pack | 23 | - name: pack | 
| 20 | if: startsWith(github.ref, 'refs/tags/') | 24 | if: startsWith(github.ref, 'refs/tags/') | 
| 21 | run: | | 25 | run: | | 
