From ecb06ba7c20f68c0e4986224dc7af97ba9bf9293 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 31 Oct 2023 12:07:33 +0800 Subject: Update macos.yml. [skip CI] --- .github/workflows/macos.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.github/workflows/macos.yml') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 75b4067..f5cbcc8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -12,10 +12,14 @@ jobs: build: name: Build & Test runs-on: macos-latest + if: "startsWith(github.ref, 'refs/tags/') || !contains(github.event.head_commit.message, '[skip CI]')" steps: - uses: actions/checkout@v2 - name: build-test - run: make test + run: | + brew install luarocks + luarocks install busted + make test - name: build for luajit if: startsWith(github.ref, 'refs/tags/') run: | -- cgit v1.2.3-55-g6feb