mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-20 15:04:19 +00:00
.github/workflows: Build Rocky Linux RPM packages
Run the repository Docker RPM target for pushes, pull requests and manual workflow dispatches. Upload the binary RPMs, source RPMs and checksum file as a commit-specific GitHub Actions artifact.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: RPM packages
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build_rpm:
|
||||
name: Rocky Linux 10.2 x86_64
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Build RPM packages
|
||||
run: make docker-rpm
|
||||
|
||||
- name: Upload RPM packages
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: scst-rpm-rocky-10.2-x86_64-${{ github.sha }}
|
||||
path: |
|
||||
docker-rpmbuilddir/RPMS/**/*.rpm
|
||||
docker-rpmbuilddir/SRPMS/*.rpm
|
||||
docker-rpmbuilddir/SHA256SUMS
|
||||
if-no-files-found: error
|
||||
Reference in New Issue
Block a user