Skip to content

Commit 4b16f6c

Browse files
committed
Modified wsl runner
1 parent f32c2bf commit 4b16f6c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ jobs:
3838
name: Release Windows
3939
runs-on: windows-2019
4040
steps:
41+
- name: Install WSL and Ubuntu
42+
shell: powershell
43+
run: |
44+
$env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.."
45+
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
46+
refreshenv
47+
48+
choco install wsl-ubuntu-2004
49+
4150
- name: Set up Go 1.x
4251
uses: actions/setup-go@v2
4352
with:
@@ -52,7 +61,7 @@ jobs:
5261
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
5362
refreshenv
5463
55-
choco install make && choco install zip && choco install wsl2 && make release-windows
64+
choco install make && choco install zip && make release-windows
5665
env:
5766
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
5867
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)