Skip to content

Commit d0c5f6c

Browse files
committed
Merge branch 'master' into PyPI_publish
2 parents ead9846 + 2f028b5 commit d0c5f6c

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
# Linux aarch64 (cross-compiled)
2424
- os: ubuntu-latest
2525
target: aarch64
26-
# macOS x86_64 (Intel)
27-
- os: macos-13
26+
# macOS x86_64 (Intel, cross-compiled on Apple Silicon runner)
27+
- os: macos-latest
2828
target: x86_64
2929
# macOS arm64 (Apple Silicon)
30-
- os: macos-14
30+
- os: macos-latest
3131
target: aarch64
3232
# Windows x86_64
3333
- os: windows-latest
@@ -73,7 +73,13 @@ jobs:
7373
name: Publish to PyPI
7474
runs-on: ubuntu-latest
7575
needs: [build-wheels, build-sdist]
76-
76+
# Optional: use trusted publisher (OIDC) instead of API token
77+
# See: https://docs.pypi.org/trusted-publishers/using-a-publisher/
78+
# environment:
79+
# name: pypi
80+
# url: https://pypi.org/p/piaso-tools
81+
# permissions:
82+
# id-token: write
7783

7884
steps:
7985
- name: Download all artifacts
@@ -87,3 +93,5 @@ jobs:
8793
uses: pypa/gh-action-pypi-publish@release/v1
8894
with:
8995
password: ${{ secrets.PYPI_API_TOKEN }}
96+
# For trusted publisher (OIDC), remove the password line above
97+
# and uncomment the environment/permissions block above

0 commit comments

Comments
 (0)