From 5de2090d10bda5457234ed0c4ecd5a532fb0ce9c Mon Sep 17 00:00:00 2001 From: Adis Durakovic Date: Fri, 15 Mar 2024 11:43:30 +0100 Subject: [PATCH] feat: workflows --- .github/workflows/aur.yml | 19 +++++++++++++++++++ .github/workflows/release.yml | 14 ++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/aur.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/aur.yml b/.github/workflows/aur.yml new file mode 100644 index 0000000..10b2d6f --- /dev/null +++ b/.github/workflows/aur.yml @@ -0,0 +1,19 @@ +name: aur +run-name: Publishing to AUR +on: + release: + types: [published] +jobs: + Deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Publish AUR package + # uses: anas-elgarhy/aur-release-action@v4.1 + # with: + # package_name: resticity # Optional (default: repository name) + # ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} # The private SSH key to use to push the changes to the AUR + # github_token: ${{ secrets.GITHUB_TOKEN }} + # pkgbuild_path: packaging/PKGBUILD + # update_pkgbuild: true + # try_build_and_install: true \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c05a1b6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,14 @@ +name: release +run-name: Release +on: + release: + tags: + - "*" +jobs: + Deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Release + uses: softprops/action-gh-release@v2 \ No newline at end of file