Skip to content

Commit

Permalink
use gcc-12 for macOS wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
rpreen committed Aug 19, 2024
1 parent a0da30d commit a156377
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
include:
# manylinux builds
- os: ubntu-20.04
- os: ubuntu-20.04
python: "cp38"
platform: manylinux_x86_64
- os: ubuntu-20.04
Expand Down Expand Up @@ -157,32 +157,32 @@ jobs:
name: cibw-sdist
path: dist/*.tar.gz

upload:
runs-on: ubuntu-latest
# if: github.event_name == 'release' && github.event.action == 'published'
needs: [build_wheels, build_sdist]
environment:
name: pypi
url: https://pypi.org/p/xcsf
permissions:
id-token: write
contents: read
attestations: write
steps:
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true

- name: Attest
uses: actions/attest-build-provenance@v1
with:
subject-path: "dist/*"

- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
# repository-url: https://test.pypi.org/legacy/
# upload:
# runs-on: ubuntu-latest
# # if: github.event_name == 'release' && github.event.action == 'published'
# needs: [build_wheels, build_sdist]
# environment:
# name: pypi
# url: https://pypi.org/p/xcsf
# permissions:
# id-token: write
# contents: read
# attestations: write
# steps:
# - uses: actions/download-artifact@v4
# with:
# pattern: cibw-*
# path: dist
# merge-multiple: true
#
# - name: Attest
# uses: actions/attest-build-provenance@v1
# with:
# subject-path: "dist/*"
#
# - name: Publish on PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# packages-dir: dist/
# # repository-url: https://test.pypi.org/legacy/
...

0 comments on commit a156377

Please sign in to comment.