2023-07-24 12:15:25 +01:00
|
|
|
name: Publish to AUR
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish:
|
|
|
|
name: Patch, Test and Publish PKGBUILD
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Setup docker CLI
|
|
|
|
uses: actions-hub/docker/cli@master
|
|
|
|
env:
|
|
|
|
SKIP_LOGIN: true
|
2023-07-25 12:53:36 +01:00
|
|
|
|
|
|
|
- name: Create SSH_CREDS directory
|
2023-07-27 05:50:29 +01:00
|
|
|
run: mkdir ./package/aur/ssh_creds
|
2023-07-25 12:53:36 +01:00
|
|
|
|
2023-07-25 12:33:39 +01:00
|
|
|
- name: Setup SSH Credentials
|
2023-07-27 05:50:29 +01:00
|
|
|
run: echo ${{ secrets.SSH_CREDS }} | base64 -d | tar -xzvf - -C ./package/aur/ssh_creds
|
2023-07-27 05:33:40 +01:00
|
|
|
|
2023-07-27 05:50:29 +01:00
|
|
|
- run: ls -lah ./package/aur/ssh_creds
|
2023-07-25 12:33:39 +01:00
|
|
|
|
2023-07-24 12:15:25 +01:00
|
|
|
- name: AUR Routine
|
2023-07-24 16:16:59 +01:00
|
|
|
run: docker build -t aur_routine package/aur && docker run aur_routine
|