7990b32dd2
* Create AUR_publish.yml * Added PKGBUILD * Switched AUR publish addon * Added arch-build action * Remove useless step in arch-build * Checkout latest tag instead of master for Arch and Fedora publish actions * Added -git PKGBUILD and added wlroots < 0.16 as dependency * Checkout master before running swayfx-git aur script * Check build for stable PKGBUILD after -git version * Removed spaces in wlroots depends version
36 lines
873 B
YAML
36 lines
873 B
YAML
name: Check build for Arch.
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
arch-build:
|
|
container: archlinux:latest
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
# It is necessary to checkout into sub-directory, because of some weird ownership problems cause by using containers
|
|
- name: Check out sources
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
path: swayfx
|
|
|
|
- name: Git makepkg build and check
|
|
id: makepkg
|
|
uses: edlanglois/pkgbuild-action@v1
|
|
with:
|
|
pkgdir: ./swayfx/build-scripts/aur-git
|
|
|
|
- name: Stable makepkg build and check
|
|
id: makepkg
|
|
uses: edlanglois/pkgbuild-action@v1
|
|
with:
|
|
pkgdir: ./swayfx/build-scripts/aur
|