Release artifacts #14
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: 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 |