Fix Github Action

This commit is contained in:
Kyle
2022-10-30 17:26:23 +08:00
parent 57b01040e5
commit 809fabca92
-15
View File
@@ -49,20 +49,6 @@ jobs:
clang --version
clang++ --version
- name: Find Visual C++ compilers and make all environment variables global (Windows)
if: runner.os == 'Windows'
shell: cmd
run: |
:: See https://github.com/microsoft/vswhere/wiki/Find-VC
for /f "usebackq delims=*" %%i in (`vswhere -latest -property installationPath`) do (
call "%%i"\Common7\Tools\vsdevcmd.bat -arch=x86 -host_arch=x64
)
:: Loop over all environment variables and make them global.
for /f "delims== tokens=1,2" %%a in ('set') do (
echo>>"%GITHUB_ENV%" %%a=%%b
)
- name: Checkout MetaMod
uses: actions/checkout@v2
with:
@@ -102,7 +88,6 @@ jobs:
working-directory: extension
shell: bash
run: |
python -c "import os; print(os.environ['GITCOMMIT'])"
mkdir build && cd build
python ../configure.py --enable-optimize --sdks=csgo
ambuild