Create Release Artifacts #2
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
name: Create Release Artifacts | |
on: | |
- workflow_dispatch | |
jobs: | |
artifacts: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:latest | |
timeout-minutes: 10 | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: install python modules to create wheel | |
run: | | |
dnf install -y python3 uv | |
- name: create Python wheel and sdist | |
run: | | |
uv venv venv.release | |
source venv.release/bin/activate | |
uv build --wheel | |
- name: upload release artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "release-artifacts" | |
path: dist/* | |
if-no-files-found: error |