Some checks failed
Build hyprwayland-scanner / Build and push image (push) Failing after 25s
37 lines
826 B
YAML
37 lines
826 B
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 skopeo
|
|
|
|
- name: Build RPM
|
|
uses: https://git.hydrosaber.com/hydros/build-rpm@main
|
|
with:
|
|
spec-file-path: ./hyprwayland-scanner/hyprwayland-scanner.spec
|
|
|
|
- name: List everything
|
|
shell: bash
|
|
run: |
|
|
echo "Home directory"
|
|
ls ~
|
|
echo "Current directory"
|
|
ls .
|
|
echo "Supposed rpm location"
|
|
ls ~/buildrpm/RPMS
|