Fixed set path on windows
h3rald h3rald@h3rald.com
Wed, 31 Mar 2021 15:20:19 +0200
1 files changed,
6 insertions(+),
1 deletions(-)
jump to
M
.github/workflows/release.yml
→
.github/workflows/release.yml
@@ -42,6 +42,11 @@
# Set path - name: Update $PATH run: echo "$HOME/.nimble/bin" >> $GITHUB_PATH + if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' + + - name: Update %PATH% + run: echo "${HOME}/.nimble/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + if: matrix.os == 'windows-latest' # Install the compiler - name: Install Nim@@ -61,7 +66,7 @@ if: matrix.os == 'macos-latest'
# Build for Windows - name: Build (Windows) - run: .\nimble\bin\nim c -d:release --gc:orc --deepcopy:on --opt:size mn + run: nim c -d:release --gc:orc --deepcopy:on --opt:size mn if: matrix.os == 'windows-latest' - name: Get Version (Linux, MacOS)