Skip to content

Commit 7d84c89

Browse files
committed
WIP: Figure out Windows install
1 parent 3d43301 commit 7d84c89

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ jobs:
3939
if: matrix.os == 'macos-latest'
4040
run: brew install gpgme
4141

42+
- name: Install GnuPG on Windows
43+
if: matrix.os == 'windows-latest'
44+
run: |
45+
$path = [Environment]::GetEnvironmentVariable("path", "machine")
46+
$newPath = ($path.Split(';') | Where-Object { $_ -eq 'C:\ProgramData\chocolatey\bin' }) -join ';'
47+
[Environment]::SetEnvironmentVariable("path", $newPath, "machine")
48+
choco install gnupg
49+
4250
- name: Build Debug
4351
run: |
4452
rustc --version

0 commit comments

Comments
 (0)