Skip to content

Create Release Artifacts #3

Create Release Artifacts

Create Release Artifacts #3

Workflow file for this run

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