From 500808d73b3b85544a054fa45bb8c81d9571d008 Mon Sep 17 00:00:00 2001 From: sandr01d <88739791+sandr01d@users.noreply.github.com> Date: Tue, 4 Jul 2023 04:06:00 +0200 Subject: [PATCH] Add AUR release action (#315) --- .github/workflows/aur.yaml | 18 ++++++++++++++++++ README.md | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/aur.yaml diff --git a/.github/workflows/aur.yaml b/.github/workflows/aur.yaml new file mode 100644 index 0000000..df0851e --- /dev/null +++ b/.github/workflows/aur.yaml @@ -0,0 +1,18 @@ +name: AUR + +on: + release: + types: + - "released" + +jobs: + aur: + runs-on: ubuntu-latest + steps: + - name: Publish + uses: zokugun/github-actions-aur-releaser@v1 + with: + package_name: forgit + aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }} + aur_username: ${{ secrets.AUR_USERNAME }} + aur_email: ${{ secrets.AUR_EMAIL }} diff --git a/README.md b/README.md index ceb924a..25b7b83 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,10 @@ Install `forgit` in just one click. [![Install with Fig](https://fig.io/badges/install-with-fig.svg)](https://fig.io/plugins/other/forgit) +### Arch User Repository + +[AUR](https://wiki.archlinux.org/title/Arch_User_Repository) packages, maintained by the developers of forgit, are available. Install the [forgit](https://aur.archlinux.org/packages/forgit) package for the latest release or [forgit-git](https://aur.archlinux.org/packages/forgit-git) to stay up to date with the latest commits from the master branch of this repository. + ### 📝 Features - **Interactive `git add` selector** (`ga`)