Github Actions add-path is gone https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
This commit is contained in:
parent
13e6b7dfe6
commit
f0b18ecfe0
|
@ -89,7 +89,7 @@ jobs:
|
|||
exec $(which g++) -m32 "\$@"
|
||||
EOF
|
||||
chmod 755 external/bin/gcc external/bin/g++
|
||||
echo '::add-path::${{ github.workspace }}/external/bin'
|
||||
echo '${{ github.workspace }}/external/bin' >> $GITHUB_PATH
|
||||
|
||||
- name: Install dependencies (macOS)
|
||||
if: runner.os == 'macOS'
|
||||
|
@ -109,15 +109,15 @@ jobs:
|
|||
curl -L "https://nim-lang.org/download/windeps.zip" -o external/windeps.zip
|
||||
7z x "external/mingw$arch.7z" -oexternal/
|
||||
7z x external/windeps.zip -oexternal/dlls
|
||||
echo '::add-path::${{ github.workspace }}'"/external/mingw$arch/bin"
|
||||
echo '::add-path::${{ github.workspace }}'"/external/dlls"
|
||||
echo '${{ github.workspace }}'"/external/mingw$arch/bin" >> $GITHUB_PATH
|
||||
echo '${{ github.workspace }}'"/external/dlls" >> $GITHUB_PATH
|
||||
|
||||
choco install msys2
|
||||
pacman -S mingw-w64-x86_64-gmp
|
||||
|
||||
- name: Setup environment
|
||||
shell: bash
|
||||
run: echo '::add-path::${{ github.workspace }}/nim/bin'
|
||||
run: echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH
|
||||
|
||||
- name: Get latest Nim commit hash
|
||||
id: versions
|
||||
|
|
Loading…
Reference in New Issue