Skip to content

Commit e6b4fcf

Browse files
committed
Install and use win native gpg port
1 parent 9b3f846 commit e6b4fcf

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ jobs:
4545
with:
4646
version: ${{matrix.emacs_version}}
4747

48+
# Emacs needs GPG to verify package signatures. The MSYS2 GPG
49+
# bundled with the GitHub Windows runner cannot handle native
50+
# Windows paths, so we install a native Windows port of GPG
51+
# instead.
52+
- uses: MinoruSekine/setup-scoop@v4.0.2
53+
with:
54+
apps: gpg
55+
scoop_update: false
56+
- name: Add GPG at the beginning of PATH on Windows
57+
if: startsWith (matrix.os, 'windows')
58+
run: |
59+
echo "C:\Users\runneradmin\scoop\apps\gpg\current\bin" >> $env:GITHUB_PATH
60+
4861
- name: Install Eldev
4962
if: "!startsWith (matrix.os, 'windows')"
5063
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh

0 commit comments

Comments
 (0)