Skip to content

Release AUR package #100

Release AUR package

Release AUR package #100

name: Release AUR package
on:
workflow_dispatch:
release:
types: [published, created, edited, prereleased, deleted, unpublished]
jobs:
release_aur_package:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
- name: Run release script
env:
AUR_SSH_PRIVATE_KEY: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
PKGNAME: mpz
PKGBUILD: ./.github/aur/PKGBUILD_Qt6.erb
SRCINFO: ./.github/aur/SRCINFO_Qt6.erb
run: ./.github/release-aur-github-action.rb
- name: Run release script (Qt5)
env:
AUR_SSH_PRIVATE_KEY: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
PKGNAME: mpz-qt5
PKGBUILD: ./.github/aur/PKGBUILD_Qt5.erb
SRCINFO: ./.github/aur/SRCINFO_Qt5.erb
run: ./.github/release-aur-github-action.rb