44 branches : master
55 pull_request :
66 types : [opened, synchronize, reopened]
7+ env :
8+ MO_BRANCH : ${{ github.head_ref || github.ref_name }}
79jobs :
810 build :
911 runs-on : windows-2022
2224 key : ${{ runner.OS }}-mob-cache-${{ hashFiles('mob/.git/refs/heads/master') }}
2325 restore-keys : |
2426 ${{ runner.OS }}-mob-cache-
25- - if : ${{ steps.cache-mob.outputs.cache-hit != 'true' }}
27+ - if : steps.cache-mob.outputs.cache-hit != 'true'
2628 name : Build mob
2729 run : .\mob\bootstrap.ps1
2830 - name : Install Qt
@@ -42,13 +44,13 @@ jobs:
4244 key : ${{ runner.OS }}-mo2-dependencies-${{ hashFiles('mob/.git/refs/heads/master') }}
4345 restore-keys : |
4446 ${{ runner.OS }}-mo2-dependencies-
45- - if : ${{ steps.cache-dependencies.outputs.cache-hit != 'true' }}
47+ - if : steps.cache-dependencies.outputs.cache-hit != 'true'
4648 name : Build dependencies with mob
4749 run : .\mob\mob.exe
4850 -l 4 -d .
4951 build
50- 7z zlib fmt gtest libbsarch libloot openssl libffi bzip2 python lz4 spdlog
51- boost boost-di sip pyqt pybind11 ss licenses explorerpp usvfs
52+ 7z zlib fmt gtest libbsarch libloot openssl libffi bzip2 lz4 spdlog
53+ boost ss licenses explorerpp usvfs
5254 - name : Build dependencies log
5355 uses : actions/upload-artifact@v3
5456 with :
@@ -57,13 +59,17 @@ jobs:
5759 mob.log
5860 # TODO: cache this?
5961 - name : Build cmake_common and uibase
60- run : .\mob\mob.exe -l 4 -d . build
62+ run : .\mob\mob.exe -l 4 -d .
63+ -s task/mo_fallback=master -s task/mo_branch=${MO_BRANCH}
64+ build
6165 --ignore-uncommitted-changes
6266 --redownload --reextract --reconfigure --rebuild
6367 cmake_common uibase
6468 # TODO: cache this?
6569 - name : Build ModOrganizer dependencies
66- run : .\mob\mob.exe -l 4 -d . build
70+ run : .\mob\mob.exe -l 4 -d .
71+ -s task/mo_fallback=master -s task/mo_branch=${MO_BRANCH}
72+ build
6773 --ignore-uncommitted-changes
6874 --redownload --reextract --reconfigure --rebuild
6975 githubpp bsatk esptk archive lootcli game_gamebryo
0 commit comments