-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub Actions: add workflow definition to produce release artifacts
- Loading branch information
1 parent
911b806
commit e3a023f
Showing
1 changed file
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Create Release Artifacts | ||
|
||
on: | ||
- workflow_dispatch | ||
|
||
jobs: | ||
wheels: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: create Python wheel and sdist | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
- name: upload release artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "release-artifacts" | ||
path: dist/* | ||
if-no-files-found: error |