Fix Github Action
This commit is contained in:
@@ -49,20 +49,6 @@ jobs:
|
|||||||
clang --version
|
clang --version
|
||||||
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
|
- name: Checkout MetaMod
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@@ -102,7 +88,6 @@ jobs:
|
|||||||
working-directory: extension
|
working-directory: extension
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python -c "import os; print(os.environ['GITCOMMIT'])"
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
python ../configure.py --enable-optimize --sdks=csgo
|
python ../configure.py --enable-optimize --sdks=csgo
|
||||||
ambuild
|
ambuild
|
||||||
|
|||||||
Reference in New Issue
Block a user