From 852cd6a5bac361e3d55ab8b2fd09cd0d00b59647 Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Mon, 5 Feb 2024 16:18:51 +0300 Subject: [PATCH] AUR publish --- .github/workflows/update-build-release.yml | 12 ++++++++++++ generate_packages.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-build-release.yml b/.github/workflows/update-build-release.yml index 61eaad5..cc96b95 100644 --- a/.github/workflows/update-build-release.yml +++ b/.github/workflows/update-build-release.yml @@ -38,6 +38,18 @@ jobs: add: "." author_name: "GitHub Actions" author_email: "loraner123@gmail.com" + - name: Publish AUR package + uses: KSXGitHub/github-actions-deploy-aur@v2.7.0 + with: + pkgname: "yandexmusic" + pkgbuild: "PKGBUILD" + updpkgsums: false + allow_empty_commits: false + commit_username: "cucumber-sp" + commit_email: "loraner123@gmail.com" + ssh_private_key: "${{ secrets.AUR_SSH_PRIVATE_KEY }}" + commit_message: "${{ env.VERSION}}-1" + ssh_keyscan_types: "rsa,dsa,ecdsa,ed25519" outputs: new_version: ${{ steps.commit.outputs.commited }} commit_long_sha: ${{ steps.commit.outputs.commit_long_sha }} diff --git a/generate_packages.sh b/generate_packages.sh index b3c4b83..08febb1 100644 --- a/generate_packages.sh +++ b/generate_packages.sh @@ -75,7 +75,7 @@ update_flake() { if check_dep nix; then nix --extra-experimental-features 'nix-command flakes' flake update else - echo "flake.nix was updated, but nix not installed to update flake.lock" + echo "flake.nix was updated, but nix is not installed to update flake.lock" fi }