Files
pyenv/.github/workflows/build.yml
T
bruhn_b 3fb72a0748
Build and Publish RPM / build-and-publish (push) Successful in 7s
Update .github/workflows/build.yml
2026-10-23 13:40:04 +02:00

31 lines
632 B
YAML

name: Build and Publish RPM
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
build-and-publish:
runs-on: "ubuntu-latest-intranet"
container:
image: gitea.psi.ch/images/rhel9-developer-gitea-actions
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Build RPM
run: |
rpmbuild -ba pyenv.spec
- name: Upload RPM to Gitea
uses: actions/upload-rpm@main
with:
owner: lx_packages_rhel9
token: "${{ secrets.PACKAGE_DEPLOY_TOKEN }}"
files: "/data/RPMS/noarch/*.rpm"