Some checks failed
Build hyprwayland-scanner / Build and push image (push) Has been cancelled
33 lines
843 B
YAML
33 lines
843 B
YAML
name: Build hyprwayland-scanner
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- .gitea/workflows/build-hyprwayland-scanner.yml
|
|
- "hyprwayland-scanner.spec"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_push:
|
|
name: Build and push image
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Setup environment
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y podman iptables
|
|
|
|
# These stage versions are pinned by https://github.com/renovatebot/renovate
|
|
- name: Checkout
|
|
uses: actions/checkout@v6 # v5
|
|
|
|
- name: Build RPM and Upload
|
|
uses: https://git.hydrosaber.com/hydros/build-rpm@main
|
|
with:
|
|
spec-file-path: ./hyprwayland-scanner.spec
|
|
repository-user: eriq12
|
|
repository-user-token: ${{ secrets.RPM_PACKAGE_TOKEN }}
|