Some checks failed
Build hyprwayland-scanner / Build and push image (push) Failing after 32s
43 lines
992 B
YAML
43 lines
992 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-24.04
|
|
|
|
steps:
|
|
- name: Prepare environment
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y podman podman-toolbox
|
|
toolbox create --distro fedora --release f43
|
|
|
|
- name: Build RPM
|
|
uses: https://git.hydrosaber.com/hydros/build-rpm@main
|
|
with:
|
|
spec-file-path: ./hyprwayland-scanner/hyprwayland-scanner.spec
|
|
|
|
- name: Cleanup toolbox
|
|
shell: bash
|
|
run: |
|
|
toolbox rm fedora-toolbox-43
|
|
|
|
- name: List everything
|
|
shell: bash
|
|
run: |
|
|
echo "Home directory"
|
|
ls ~
|
|
echo "Current directory"
|
|
ls .
|
|
echo "Supposed rpm location"
|
|
ls ~/rpm
|