Skip to content

Update aur.yml

Update aur.yml #2

Workflow file for this run

name: Release to AUR
on:
release:
types: [published]
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Install cargo-aur
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-aur
- name: Create PKGBUILD
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo aur
- name: cd into cargo-aur
run: cd ./target/cargo-aur/
- name: Publish AUR package
uses: KSXGitHub/[email protected]
with:
pkgname: matugen
pkgbuild: ./PKGBUILD
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