2022-11-14 01:58:24 +11:00
|
|
|
name: Package for the AUR
|
|
|
|
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [published]
|
|
|
|
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
2022-11-15 03:12:43 +11:00
|
|
|
aur-publish-stable:
|
2022-11-14 01:58:24 +11:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-15 03:12:43 +11:00
|
|
|
- name: Check out sources
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2022-11-14 01:58:24 +11:00
|
|
|
|
2022-11-15 03:12:43 +11:00
|
|
|
- name: Publish AUR Stable package
|
|
|
|
uses: ulises-jeremias/github-actions-aur-publish@v1
|
|
|
|
with:
|
|
|
|
pkgname: swayfx
|
|
|
|
pkgbuild: ./build-scripts/aur/PKGBUILD
|
|
|
|
assets: |
|
2023-12-04 04:46:09 +11:00
|
|
|
./build-scripts/aur/sway-portals.conf
|
2022-11-15 03:12:43 +11:00
|
|
|
./build-scripts/aur/50-systemd-user.conf
|
|
|
|
./build-scripts/aur/sway.install
|
|
|
|
commit_username: ${{ secrets.AUR_USERNAME }}
|
|
|
|
commit_email: ${{ secrets.AUR_EMAIL }}
|
|
|
|
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
|
|
|
commit_message: Update AUR package
|
|
|
|
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
|
|
|
|
update_pkgver: false
|
2022-11-14 01:58:24 +11:00
|
|
|
|
2022-11-15 03:12:43 +11:00
|
|
|
aur-publish-git:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check out sources
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Publish AUR -git package
|
|
|
|
uses: ulises-jeremias/github-actions-aur-publish@v1
|
|
|
|
with:
|
|
|
|
pkgname: swayfx-git
|
|
|
|
pkgbuild: ./build-scripts/aur-git/PKGBUILD
|
|
|
|
assets: |
|
2023-12-04 04:46:09 +11:00
|
|
|
./build-scripts/aur/sway-portals.conf
|
2022-11-15 03:12:43 +11:00
|
|
|
./build-scripts/aur-git/50-systemd-user.conf
|
|
|
|
./build-scripts/aur-git/sway.install
|
|
|
|
commit_username: ${{ secrets.AUR_USERNAME }}
|
|
|
|
commit_email: ${{ secrets.AUR_EMAIL }}
|
|
|
|
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
|
|
|
commit_message: Update AUR package
|
|
|
|
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
|
|
|
|
update_pkgver: false
|