Skip to content

Commit

Permalink
feat: ready to release, crossing fingers
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Feb 1, 2024
1 parent acfe546 commit 3ca2501
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- master
workflow_dispatch:
release:
types:
- published

jobs:
build_sdist:
Expand All @@ -28,7 +31,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] # , windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -52,7 +55,7 @@ jobs:
permissions:
id-token: write
# Comment this line for testing
# if: github.event_name == 'release' && github.event.action == 'published'
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -62,5 +65,5 @@ jobs:
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@release/v1
# Uncomment these lines for testing
with:
repository-url: https://test.pypi.org/legacy/
# with:
# repository-url: https://test.pypi.org/legacy/

0 comments on commit 3ca2501

Please sign in to comment.