lune-packaging/.github/workflows/aur.yaml

30 lines
726 B
YAML
Raw Normal View History

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 17:23:36 +05:30
- name: Create SSH_CREDS directory
2023-07-27 10:20:29 +05:30
run: mkdir ./package/aur/ssh_creds
2023-07-25 17:23:36 +05:30
2023-07-25 17:03:39 +05:30
- name: Setup SSH Credentials
2023-07-27 10:20:29 +05:30
run: echo ${{ secrets.SSH_CREDS }} | base64 -d | tar -xzvf - -C ./package/aur/ssh_creds
2023-07-27 10:03:40 +05:30
2023-07-27 10:20:29 +05:30
- run: ls -lah ./package/aur/ssh_creds
2023-07-25 17:03:39 +05:30
- name: AUR Routine
2023-07-24 20:46:59 +05:30
run: docker build -t aur_routine package/aur && docker run aur_routine