From dbb23c5cdbfb9ca62326d911eccb39d269dc5641 Mon Sep 17 00:00:00 2001 From: Koichi Akabe Date: Tue, 13 Dec 2022 16:59:43 +0900 Subject: [PATCH] Disable pack-* CI on normal commits --- .github/workflows/CI.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 13135ce..b8b8e20 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -31,6 +31,7 @@ jobs: pack-sdist: needs: [ test ] + if: "startsWith(github.ref, 'refs/tags/')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -50,6 +51,7 @@ jobs: pack-linux: needs: [ test ] + if: "startsWith(github.ref, 'refs/tags/')" runs-on: ubuntu-latest strategy: matrix: @@ -75,6 +77,7 @@ jobs: pack-windows: needs: [ test ] + if: "startsWith(github.ref, 'refs/tags/')" runs-on: windows-latest strategy: matrix: @@ -101,6 +104,7 @@ jobs: pack-macos: needs: [ test ] + if: "startsWith(github.ref, 'refs/tags/')" runs-on: macos-latest strategy: matrix: