36 lines
770 B
YAML
36 lines
770 B
YAML
name: Build hyprwayland-scanner
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "hyprwayland-scanner/**"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_push:
|
|
name: Build and push image
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
- name: Prepare environment
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y podman toolbox
|
|
|
|
- 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 ~/rpm
|