diff options
| author | Kyren223 <kyren223@proton.me> | 2025-08-03 12:39:37 +0300 |
|---|---|---|
| committer | Kyren223 <kyren223@proton.me> | 2025-08-03 12:39:37 +0300 |
| commit | 5aefc03a135c5f42d61a67602c0fa25dc0751839 (patch) | |
| tree | cbe48b2d4086bd64e32403fa515961eb9cf0c435 /.github | |
| parent | 7ed248cce994953d24677d335c69be3df5ccdf51 (diff) | |
Windows gh workflow fun
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a001000..091a43e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,12 +57,16 @@ jobs: with: go-version: stable - - name: Install `zip` on Windows + - name: Install zip via Chocolatey (PowerShell) if: runner.os == 'Windows' - shell: powershell + shell: pwsh run: | - choco install zip -y - refreshenv # ensures zip.exe is in PATH for subsequent Bash steps + # Install the CLI + choco install zip.commandline --no-progress -y + # Load the helper module and refresh the environment + $env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Source)\..\.." + Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" + refreshenv # activates zip in current session - name: Build binary shell: bash |
