Skip to content

Commit

Permalink
Build wheels in PRs but do not upload
Browse files Browse the repository at this point in the history
  • Loading branch information
armenzg committed Sep 17, 2024
1 parent 4cd6f87 commit a0c7e6f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Release build

on:
push:
branches:
- "release/**"

jobs:
linux:
Expand All @@ -27,6 +25,7 @@ jobs:
manylinux: auto

- name: Upload wheels
if: github.ref == 'refs/heads/release/**'
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}
Expand All @@ -52,6 +51,7 @@ jobs:
sccache: "true"

- name: Upload wheels
if: github.ref == 'refs/heads/release/**'
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}
Expand All @@ -69,6 +69,7 @@ jobs:
args: --out dist

- name: Upload sdist
if: github.ref == 'refs/heads/release/**'
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}
Expand Down

0 comments on commit a0c7e6f

Please sign in to comment.