From 5d89417aa193f4c14e60db20da7a052f3b8081fb Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Wed, 9 Nov 2022 13:17:45 +0200 Subject: [PATCH] Create the aur-release action yoo ;D --- .github/workflows/aur-release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/aur-release.yml diff --git a/.github/workflows/aur-release.yml b/.github/workflows/aur-release.yml new file mode 100644 index 0000000..2e710e7 --- /dev/null +++ b/.github/workflows/aur-release.yml @@ -0,0 +1,24 @@ +name: aur-release + +on: + push: + tags: + - "*" # Run on any tag + +jobs: + aur-publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Publish AUR package + uses: anas-elgarhy/aur-release-action@v1.1 + with: + package_name: aur-package-name # Use this if the package name in AUR is different from the repository name + ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} + pkgbuild_path: archpackge/PKGBUILD # Use this if the PKGBUILD file is not in the root directory + aur_submodule_path: archpackge/aarty + git_username: Anas Elgarhy # Use this if you want to change the git username (recommended) + git_email: anas.elgarhy.dev@gmail.com # Use this if you want to change the git email (recommended) + commit_message: UpUp Update %FILENAME% to %VERSION% yoo # Use this if you want to change the commit message -- 2.34.1