-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
steps: | ||
|
||
|
@@ -36,6 +36,10 @@ jobs: | |
with: | ||
python-version: '3.9' | ||
|
||
- name: Set up msbuild (Windows only) | ||
uses: microsoft/[email protected] | ||
if: startsWith(matrix.os, 'windows') | ||
|
||
- name: Build wheel | ||
uses: pypa/[email protected] | ||
with: | ||
|
@@ -67,6 +71,9 @@ jobs: | |
needs: | ||
- build_wheels | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
permissions: | ||
id-token: write | ||
contents: write # Required by 'action-gh-release' | ||
|
@@ -84,22 +91,10 @@ jobs: | |
echo "VERSION=$FLAT_TAG" >> "$GITHUB_OUTPUT" | ||
shell: bash | ||
|
||
- name: Download release assets for ubutu-latest | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: wheelstorage-ubuntu-latest | ||
path: dist | ||
|
||
- name: Download release assets for macos-latest | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: wheelstorage-macos-latest | ||
path: dist | ||
|
||
- name: Download release assets for windows-latest | ||
- name: Download release assets for ${{ matrix.os }} | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: wheelstorage-windows-latest | ||
name: wheelstorage-${{ matrix.os }} | ||
path: dist | ||
|
||
- name: Publish dist(s) to PyPI | ||
|