lune-packaging/.github/workflows/aur.yml
2023-07-25 17:12:03 +05:30

27 lines
611 B
YAML

name: Publish to AUR
on:
push:
tags:
- "*"
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
- name: Setup SSH Credentials
run: echo $SSH_CREDS | base64 -d | tar --no-same-owner -xzf - -C ~/ssh_creds && ls .ssh
- name: AUR Routine
run: docker build -t aur_routine package/aur && docker run aur_routine