use the env var of third-party base location

This commit is contained in:
otavepto 2024-05-21 23:37:37 +03:00
parent 280be10a6f
commit 83be0d66d9
2 changed files with 4 additions and 5 deletions

View File

@ -83,8 +83,8 @@ jobs:
working-directory: ${{ github.workspace }}
run: |
sudo chmod 777 ./third-party/common/linux/premake/premake5
./third-party/common/linux/premake/premake5 --file=premake5.lua --os=linux genproto || echo ;
./third-party/common/linux/premake/premake5 --file=premake5.lua --emubuild=${{ github.sha }} --os=linux gmake2
./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5 --file=premake5.lua --os=linux genproto || echo ;
./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5 --file=premake5.lua --emubuild=${{ github.sha }} --os=linux gmake2
exit 0
### build target(s)

View File

@ -80,9 +80,8 @@ jobs:
shell: cmd
working-directory: ${{ github.workspace }}
run: |
third-party\common\win\premake\premake5.exe --file=premake5.lua --os=windows genproto || echo:
third-party\common\win\premake\premake5.exe --file=premake5.lua --emubuild=${{ github.sha }} --os=windows vs2022
exit /b 0
"${{env.THIRD_PARTY_BASE_DIR}}\common\win\premake\premake5.exe" --file=premake5.lua --os=windows genproto
"${{env.THIRD_PARTY_BASE_DIR}}\common\win\premake\premake5.exe" --file=premake5.lua --emubuild=${{ github.sha }} --os=windows vs2022
### build target(s)
- name: Build target(s)