Create Release Artifacts #3
Workflow file for this run
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: | |
wheels: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:latest | |
timeout-minutes: 10 | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: install fedpkg | |
run: | | |
dnf install -y fedpkg | |
- name: create Python wheel and sdist | |
run: | | |
python setup.py sdist bdist_wheel | |
- name: create src.rpm | |
run: | | |
cd rpm | |
cp -a ../dist/*.tar.gz . | |
fedpkg --release f40 srpm | |
ls -la * | |
ls -la results | |
- name: upload release artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "release-artifacts" | |
path: dist/* | |
if-no-files-found: error |