diff --git a/.github/workflows/dist_win.yaml b/.github/workflows/dist_win.yaml index fb447ee2..524919d2 100644 --- a/.github/workflows/dist_win.yaml +++ b/.github/workflows/dist_win.yaml @@ -10,13 +10,17 @@ jobs: with: fetch-depth: 0 - name: Install Nim - run: choco install nim --version=2.0.2 + run: | + md -f ${HOME}/Nim + cd ${HOME}/Nim + C:\msys64\usr\bin\wget.exe https://nim-lang.org/download/nim-2.0.2_x64.zip + 7z.exe x nim-2.0.2_x64.zip -y - name: Install build deps run: choco install yasm innosetup rcedit zip reshack - name: Install scons run: python -m pip install scons - name: Update path - run: echo "${HOME}/.nimble/bin;C:\tools\Nim\nim-2.0.2\bin;C:\msys64\mingw64\bin;C:\Program Files (x86)\Resource Hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + run: echo "${HOME}/.nimble/bin;${HOME}\Nim\bin;C:\msys64\mingw64\bin;C:\Program Files (x86)\Resource Hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: Install nimble deps run: nimble setup -y - name: Save SHAs of submodules