Add PKGBUILD stable and -git, AUR publish and Arch build GitHub Actions (#31)

* 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
This commit is contained in:
Erik Reider 2022-11-13 15:58:24 +01:00 committed by GitHub
parent c82adeb7c0
commit 7990b32dd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 324 additions and 2 deletions

View file

@ -8,7 +8,7 @@ on:
workflow_dispatch:
jobs:
package:
fedora-copr:
container: fedora:latest
runs-on: ubuntu-latest
@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0
path: swayfx
# Checks out the latest tag
- run: |
cd swayfx
git stash save "Action stashing changes"
latestTag=$(git describe --abbrev=0 --tags)
git checkout $latestTag
- name: Copy spec into root dir
run: |