Skip to content

Commit fd105ec

Browse files
committed
Update build_and_publish.yml
1 parent 3c29cb4 commit fd105ec

1 file changed

Lines changed: 37 additions & 37 deletions

File tree

.github/workflows/build_and_publish.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -158,41 +158,41 @@ jobs:
158158
name: wheels-macos-${{ matrix.platform.target }}
159159
path: dist
160160

161-
sdist:
162-
runs-on: ubuntu-latest
163-
steps:
164-
- uses: actions/checkout@v4
165-
- name: Build sdist
166-
uses: PyO3/maturin-action@v1
167-
with:
168-
command: sdist
169-
args: --out dist
170-
- name: Upload sdist
171-
uses: actions/upload-artifact@v4
172-
with:
173-
name: wheels-sdist
174-
path: dist
161+
# sdist:
162+
# runs-on: ubuntu-latest
163+
# steps:
164+
# - uses: actions/checkout@v4
165+
# - name: Build sdist
166+
# uses: PyO3/maturin-action@v1
167+
# with:
168+
# command: sdist
169+
# args: --out dist
170+
# - name: Upload sdist
171+
# uses: actions/upload-artifact@v4
172+
# with:
173+
# name: wheels-sdist
174+
# path: dist
175175

176-
release:
177-
name: Release
178-
runs-on: ubuntu-latest
179-
needs: [linux, musllinux, windows, macos, sdist]
180-
environment: pypi
181-
permissions:
182-
# Use to sign the release artifacts
183-
id-token: write
184-
# Used to upload release artifacts
185-
contents: write
186-
# Used to generate artifact attestation
187-
attestations: write
188-
steps:
189-
- uses: actions/download-artifact@v4
190-
- name: Generate artifact attestation
191-
uses: actions/attest-build-provenance@v2
192-
with:
193-
subject-path: 'wheels-*/*'
194-
- name: Publish to PyPI
195-
uses: PyO3/maturin-action@v1
196-
with:
197-
command: upload
198-
args: --non-interactive --skip-existing wheels-*/*
176+
# release:
177+
# name: Release
178+
# runs-on: ubuntu-latest
179+
# needs: [linux, musllinux, windows, macos, sdist]
180+
# environment: pypi
181+
# permissions:
182+
# # Use to sign the release artifacts
183+
# id-token: write
184+
# # Used to upload release artifacts
185+
# contents: write
186+
# # Used to generate artifact attestation
187+
# attestations: write
188+
# steps:
189+
# - uses: actions/download-artifact@v4
190+
# - name: Generate artifact attestation
191+
# uses: actions/attest-build-provenance@v2
192+
# with:
193+
# subject-path: 'wheels-*/*'
194+
# - name: Publish to PyPI
195+
# uses: PyO3/maturin-action@v1
196+
# with:
197+
# command: upload
198+
# args: --non-interactive --skip-existing wheels-*/*

0 commit comments

Comments
 (0)