From 20d5ca10f1c682ce420598d7ee2f0080120ca5c3 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 20 Feb 2025 12:27:34 +0100 Subject: [PATCH 1/2] remove-packages-from-pacman-repository: use nicer name This name is displayed on the left of https://github.com/git-for-windows/git-for-windows-automation/actions, therefore it does matter. Signed-off-by: Johannes Schindelin --- .github/workflows/remove-packages-from-pacman-repository.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remove-packages-from-pacman-repository.yml b/.github/workflows/remove-packages-from-pacman-repository.yml index 508f67a5..8e288551 100644 --- a/.github/workflows/remove-packages-from-pacman-repository.yml +++ b/.github/workflows/remove-packages-from-pacman-repository.yml @@ -1,4 +1,4 @@ -name: remove-packages-from-pacman-repository +name: Remove Packages from the Pacman repository run-name: Remove ${{ inputs.packages }} from the Pacman repository on: From 6ae8d1f08fcb55ed4812d957454a369390e0ad22 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 20 Feb 2025 12:28:56 +0100 Subject: [PATCH 2/2] remove-packages-from-pacman-repository: fix GPG step When I tried to run the workflow, it failed: gpg: directory '/d/a/_temp/home/.gnupg' created gpg: error running '/usr/bin/dirmngr': probably not installed gpg: failed to start dirmngr '/usr/bin/dirmngr': Configuration error gpg: can't connect to the dirmngr: Configuration error gpg: keyserver receive failed: No dirmngr For full details, see https://github.com/git-for-windows/git-for-windows-automation/actions/runs/13433913836/job/37531770052#step:6:18 The reason is obviously that the `dirmngr.exe` executable is not part of the Git for Windows SDK `makepkg-git` flavor. So let's use the `build-installers` flavor instead; This succeeds in importing the GPG keys. Signed-off-by: Johannes Schindelin --- .github/workflows/remove-packages-from-pacman-repository.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/remove-packages-from-pacman-repository.yml b/.github/workflows/remove-packages-from-pacman-repository.yml index 8e288551..cb90c606 100644 --- a/.github/workflows/remove-packages-from-pacman-repository.yml +++ b/.github/workflows/remove-packages-from-pacman-repository.yml @@ -33,9 +33,7 @@ jobs: - name: Download Git for Windows SDK uses: git-for-windows/setup-git-for-windows-sdk@v1 with: - flavor: makepkg-git - architecture: x86_64 - msys: true + flavor: build-installers - name: Clone build-extra shell: bash