Skip to content

Release artifacts

Release artifacts #14

Workflow file for this run

name: Release tarball
on:
release:
types: [published]
jobs:
archive:
runs-on: ubuntu-24.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: rpm-4.20.x
- name: Build
run: |
podman build --target base -t rpm -f tests/Dockerfile .
podman run -v $PWD:/srv:z --workdir /srv -it --rm rpm sh -c "mkdir _build; cd _build/; cmake -DENABLE_TESTSUITE=OFF -DWITH_DOXYGEN=ON ..; make dist"
gh release upload test _build/rpm-4.20.0.tar.bz2