Skip to content

Commit 7be13b0

Browse files
author
Dave Kozma
authored
Enable publish on tag creation
1 parent d801007 commit 7be13b0

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,19 @@ jobs:
124124
name: wheels
125125
path: dist
126126

127-
# release:
128-
# name: Release
129-
# runs-on: ubuntu-latest
130-
# if: "startsWith(github.ref, 'refs/tags/')"
131-
# needs: [linux, windows, macos, sdist]
132-
# steps:
133-
# - uses: actions/download-artifact@v3
134-
# with:
135-
# name: wheels
136-
# - name: Publish to PyPI
137-
# uses: PyO3/maturin-action@v1
138-
# env:
139-
# MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
140-
# with:
141-
# command: upload
142-
# args: --non-interactive --skip-existing *
127+
release:
128+
name: Release
129+
runs-on: ubuntu-latest
130+
if: "startsWith(github.ref, 'refs/tags/')"
131+
needs: [linux, windows, macos_x86, macos_aarch64, sdist]
132+
steps:
133+
- uses: actions/download-artifact@v3
134+
with:
135+
name: wheels
136+
- name: Publish to PyPI
137+
uses: PyO3/maturin-action@v1
138+
env:
139+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
140+
with:
141+
command: upload
142+
args: --non-interactive --skip-existing *

0 commit comments

Comments
 (0)