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

27 lines
606 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 && ls .ssh
- name: AUR Routine
run: docker build -t aur_routine package/aur && docker run aur_routine