From e98d81e288dcc41d54643521a805e79a212c8a55 Mon Sep 17 00:00:00 2001 From: septs Date: Fri, 15 Mar 2024 18:47:17 +0800 Subject: [PATCH] refactor actions --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3e88226..81a7cc1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -44,6 +44,7 @@ jobs: name: artifact-macos path: lpac-*.zip release: + if: startsWith(github.ref, 'refs/tags/v') needs: [build-linux, build-macos] runs-on: ubuntu-latest permissions: @@ -57,7 +58,6 @@ jobs: name: artifact-macos - name: Release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/v') with: files: | lpac-*.deb