mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -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
|
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)
|
- name: Install dependencies (Ubuntu)
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
@ -132,7 +132,7 @@ jobs:
|
|||||||
Expand-Archive -Path thirdparty-tools.zip
|
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)
|
- name: ccache (non-Windows)
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
@ -162,7 +162,8 @@ jobs:
|
|||||||
|
|
||||||
if ${{ runner.os != 'Windows' }}; then
|
if ${{ runner.os != 'Windows' }}; then
|
||||||
compilerLauncher=$(echo -DCMAKE_C{,XX}_COMPILER_LAUNCHER=ccache)
|
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
|
fi
|
||||||
|
|
||||||
cmake
|
cmake
|
||||||
|
Loading…
x
Reference in New Issue
Block a user