From 3d6340c16c3e83e92dd1423491ab6c77e2cd74e2 Mon Sep 17 00:00:00 2001 From: SavagePeanut Date: Wed, 2 Aug 2023 17:50:59 -0500 Subject: make all jobs only run on tagged version --- .github/workflows/CI.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 49ebda6..783238b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,6 +21,7 @@ permissions: jobs: linux: runs-on: ubuntu-latest + if: "startsWith(github.ref, 'refs/tags/')" strategy: matrix: target: [x86_64, x86, aarch64, armv7, s390x, ppc64le] @@ -44,6 +45,7 @@ jobs: windows: runs-on: windows-latest + if: "startsWith(github.ref, 'refs/tags/')" strategy: matrix: target: [x64, x86] @@ -67,6 +69,7 @@ jobs: macos: runs-on: macos-latest + if: "startsWith(github.ref, 'refs/tags/')" strategy: matrix: target: [x86_64, aarch64] @@ -89,6 +92,7 @@ jobs: sdist: runs-on: ubuntu-latest + if: "startsWith(github.ref, 'refs/tags/')" steps: - uses: actions/checkout@v3 - name: Build sdist -- cgit v1.2.3