Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bertaveira committed Apr 27, 2024
1 parent 6456372 commit 6710a63
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
submodules: true

- name: Build SDist
run: pipx run build --sdist
run: pipx run build --sdist ${{github.workspace}}/python/
- name: Move sdist to dist
run: mkdir -p dist && mv ${{github.workspace}}/python/dist/*.tar.gz dist/

- name: Check metadata
run: pipx run twine check dist/*
Expand All @@ -44,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-22.04, windows-2022, macos-11]

steps:
- uses: actions/checkout@v4
Expand All @@ -55,6 +57,8 @@ jobs:
env:
CIBW_ARCHS_MACOS: universal2
CIBW_ARCHS_WINDOWS: auto ARM64
with:
package-dir: ${{github.workspace}}/python/

- name: Verify clean directory
run: git diff --exit-code
Expand Down

0 comments on commit 6710a63

Please sign in to comment.