From 535b42ec65285cc55e119cbe27d0053d8e13e485 Mon Sep 17 00:00:00 2001 From: Radu Marias Date: Fri, 5 Jul 2024 19:34:56 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 113789e..10548ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,26 +50,26 @@ jobs: artifacts: "${{ github.event.repository.name }}-${{ needs.version.outputs.version }}-x86_64.tar.gz" generateReleaseNotes: true - # aur_publish: - # name: publish to AUR - # needs: [create_release] - # runs-on: ubuntu-latest - # steps: - # - name: download artifact - # uses: actions/download-artifact@v4 - # with: - # name: PKGBUILD + aur_publish: + name: publish to AUR + needs: [create_release] + runs-on: ubuntu-latest + steps: + - name: download artifact + uses: actions/download-artifact@v4 + with: + name: PKGBUILD - # - name: publish AUR package - # uses: KSXGitHub/github-actions-deploy-aur@v2.7.1 - # with: - # pkgname: ${{ github.event.repository.name }}-bin - # pkgbuild: PKGBUILD - # commit_username: ${{ secrets.AUR_USERNAME }} - # commit_email: ${{ secrets.AUR_EMAIL }} - # ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} - # commit_message: Update AUR package - # ssh_keyscan_types: rsa,dsa,ecdsa,ed25519 + - name: publish AUR package + uses: KSXGitHub/github-actions-deploy-aur@v2.7.1 + with: + pkgname: ${{ github.event.repository.name }}-bin + pkgbuild: PKGBUILD + commit_username: ${{ secrets.AUR_USERNAME }} + commit_email: ${{ secrets.AUR_EMAIL }} + ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + commit_message: Update AUR package + ssh_keyscan_types: rsa,dsa,ecdsa,ed25519 cargo_publish: name: publish to crates.io