Skip to content

Commit 463bc91

Browse files
committed
WIP: Figure out Windows install
1 parent 3d43301 commit 463bc91

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: .github/workflows/ci.yml

+9
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ 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 gpg4win
49+
refreshenv
50+
4251
- name: Build Debug
4352
run: |
4453
rustc --version

0 commit comments

Comments
 (0)