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 iptables # These stage versions are pinned by https://github.com/renovatebot/renovate - name: Checkout uses: actions/checkout@v6 # v5 - name: Build RPM uses: https://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