mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
workflow: Fix use of removed set-env in GitHub CI
This commit is contained in:
parent
75fb0d3b50
commit
9e44df783f
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -97,7 +97,7 @@ jobs:
|
||||
|
||||
brew install ccache
|
||||
|
||||
echo "##[set-env name=thirdpartyOption;]-D THIRDPARTY_DIRECTORY=../panda3d-1.10.5/thirdparty" -DHAVE_CG=OFF
|
||||
echo "thirdpartyOption=-D THIRDPARTY_DIRECTORY=../panda3d-1.10.5/thirdparty -DHAVE_CG=OFF" >> $GITHUB_ENV
|
||||
|
||||
- name: Install dependencies (Ubuntu)
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
@ -132,7 +132,7 @@ jobs:
|
||||
Expand-Archive -Path thirdparty-tools.zip
|
||||
}
|
||||
|
||||
echo "##[set-env name=thirdpartyOption;]-D THIRDPARTY_DIRECTORY=../thirdparty-tools/panda3d-1.10.5/thirdparty"
|
||||
echo "thirdpartyOption=-D THIRDPARTY_DIRECTORY=../thirdparty-tools/panda3d-1.10.5/thirdparty" >> $GITHUB_ENV
|
||||
|
||||
- name: ccache (non-Windows)
|
||||
if: runner.os != 'Windows'
|
||||
@ -162,7 +162,8 @@ jobs:
|
||||
|
||||
if ${{ runner.os != 'Windows' }}; then
|
||||
compilerLauncher=$(echo -DCMAKE_C{,XX}_COMPILER_LAUNCHER=ccache)
|
||||
echo "##[set-env name=CCACHE_DIR;]$(dirname $PWD)/ccache"
|
||||
export CCACHE_DIR="$(dirname $PWD)/ccache"
|
||||
echo "CCACHE_DIR=$(dirname $PWD)/ccache" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
cmake
|
||||
|
Loading…
x
Reference in New Issue
Block a user