add publish to AUR workflow
This commit is contained in:
parent
672e4bbce8
commit
033ef7a4a1
1 changed files with 28 additions and 0 deletions
28
.github/workflows/aur.yml
vendored
Normal file
28
.github/workflows/aur.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Publish to AUR
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths-ignore:
|
||||||
|
- '**/.gitignore'
|
||||||
|
- '.vscode/**'
|
||||||
|
- '**/*.md'
|
||||||
|
- 'scripts/full-release.sh'
|
||||||
|
- 'scripts/package-deb.sh'
|
||||||
|
- 'src/fixtures/**'
|
||||||
|
jobs:
|
||||||
|
publish-to-aur:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install Archlinux
|
||||||
|
run: curl -L https://github.com/zaoqi/github-actions-archlinux/raw/master/install.sh | sh
|
||||||
|
- name: Install dependencies
|
||||||
|
run: sudo pacman -Syu --noconfirm base-devel git
|
||||||
|
- name: Configure git
|
||||||
|
run: |
|
||||||
|
git config --global user.email "{{ github.actor }}@users.noreply.github.com"
|
||||||
|
git config --global user.name "{{ github.actor }}"
|
||||||
|
- name: Publish to AUR
|
||||||
|
run: ./scripts/publish-aur.sh
|
Loading…
Reference in a new issue