Files
HyprlandRPM/.gitea/workflows/build-hyprwayland-scanner.yml
Eriq Taing a707dfc5c1
Some checks failed
Build hyprwayland-scanner / Build and push image (push) Failing after 14s
Remove entrypoint, use build-rpm action. Once done, upload all in
buildrpm rpms folder to rpm repo
2025-11-30 14:58:14 -05:00

43 lines
1.1 KiB
YAML

name: Build hyprwayland-scanner
on:
push:
branches:
- main
paths:
- .gitea/workflows/build-hyprwayland-scanner.yml
- "hyprwayland-scanner/**"
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
# These stage versions are pinned by https://github.com/renovatebot/renovate
- name: Checkout
uses: actions/checkout@v6 # v5
- name: Build RPM
uses: git.hydrosaber.com/hydros/build-rpm@main
with:
spec-file-path: ./hyprwayland-scanner/hyprwayland-scanner.spec
- name: Upload package
shell: bash
env:
RPM_PACKAGE_TOKEN: ${{ secrets.RPM_PACKAGE_TOKEN }}
PACKAGE_GROUP: f43
run: |
find ./rpmbuild/RPMS/ -name "*.rpm" -type f \
-exec curl \
--user eriq12:${RPM_PACKAGE_TOKEN} \
--upload-file {} \
https://git.hydrosaber.com/api/packages/hydros/rpm/${PACKAGE_GROUP}/upload