From 865e977d19d9b5d10bc6b3f4e87d47c2ec102179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Tue, 8 Aug 2023 05:47:08 +0900 Subject: [PATCH] chore(ci): Enable publish action for more branches (#1057) --- .github/workflows/publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 58059eb60c..f289d24cb8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ on: jobs: build: - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} + if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} strategy: fail-fast: false matrix: @@ -187,7 +187,7 @@ jobs: stc* if-no-files-found: error test-macOS-windows-binding: - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} + if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} needs: - build @@ -229,7 +229,7 @@ jobs: - name: Test bindings run: yarn test test-linux-x64-gnu-binding: - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} + if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }} needs: - build @@ -268,7 +268,7 @@ jobs: - name: Test bindings run: docker run --rm -v $(pwd):/stc -w /stc node:${{ matrix.node }}-slim env yarn test test-linux-x64-musl-binding: - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} + if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} needs: - build @@ -307,7 +307,7 @@ jobs: - name: Test bindings run: docker run --rm -v $(pwd):/stc -w /stc node:${{ matrix.node }}-alpine env DISABLE_PLUGIN_E2E_TESTS=true yarn test test-linux-aarch64-musl-binding: - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} + if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }} needs: - build @@ -341,7 +341,7 @@ jobs: set -e apk add nodejs npm yarn test-linux-arm-gnueabihf-binding: - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} + if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} needs: - build @@ -453,7 +453,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} publish-wasm: - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} + if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} name: Publisg Wasm for ${{ matrix.target }} # needs: