Skip to content

Commit

Permalink
Fix macos wheels not being all uploaded to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri-justeau committed Oct 2, 2024
1 parent fb1d492 commit 85a6939
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
pip install -r requirements_tests.txt
pytest
- name: Upload wheel artifacts
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: actions/upload-artifact@v4
with:
name: wheel-${{matrix.os}}-${{matrix.python-version}}-${{matrix.arch}}-artifact
Expand All @@ -96,6 +96,7 @@ jobs:
strategy:
matrix:
os : [macos-14, macos-13, macos-12]
arch: [arm64, x86_64]
python-version: [ "3.11" ]
include:
- os: macos-14
Expand Down Expand Up @@ -125,7 +126,7 @@ jobs:
- name: List files
run: ls -R
- name: Upload to PyPi
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down

0 comments on commit 85a6939

Please sign in to comment.