summaryrefslogtreecommitdiff
path: root/.github/workflows/CI.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/CI.yml')
-rw-r--r--.github/workflows/CI.yml4
1 files changed, 4 insertions, 0 deletions
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