Skip to content

Commit 86427b2

Browse files
authored
Fix release workflow by removing duplicate macos building and migrating to Trusted Publisher (#237)
1 parent 1149317 commit 86427b2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/dist.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
- ubuntu-24.04-arm
3636
- windows-latest
3737
- windows-11-arm
38-
- macos-14
3938
- macos-latest
4039
steps:
4140
- uses: actions/checkout@v4
@@ -54,8 +53,6 @@ jobs:
5453
needs: [build_wheels, make_sdist]
5554
if:
5655
runs-on: ubuntu-latest
57-
env:
58-
CAN_DEPLOY: ${{ secrets.SAGEMATH_PYPI_API_TOKEN != '' }}
5956
permissions:
6057
id-token: write
6158
attestations: write
@@ -79,7 +76,5 @@ jobs:
7976
- name: Publish package distributions to PyPI
8077
uses: pypa/gh-action-pypi-publish@release/v1
8178
with:
82-
user: __token__
83-
password: ${{ secrets.SAGEMATH_PYPI_API_TOKEN }}
8479
verbose: true
85-
if: env.CAN_DEPLOY == 'true' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
80+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)