Skip to content

Commit

Permalink
Update the Steam release procedure (#607)
Browse files Browse the repository at this point in the history
* Only checkout the Support/steam directory

* Replace j2cli with jinjanator (j2cli doesn't work in python 3.12 and is abandoned)
  • Loading branch information
mikeage committed Dec 25, 2023
1 parent 291763f commit 23fb016
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
sparse-checkout: |
Support/steam
lfs: true # We don't use LFS, but it adds no time, and leave it here in case we do at some point later
- name: Setup steamcmd
uses: CyberAndrii/setup-steamcmd@v1.1.5
Expand All @@ -756,10 +758,10 @@ jobs:
path: build_windows_openxr
- name: Upload Build
run: |
pip install -U j2cli
j2 Support/steam/app.vdf.j2 > build_windows_openxr/app.vdf
j2 Support/steam/main_depot.vdf.j2 > build_windows_openxr/main_depot.vdf
j2 Support/steam/installscript_win.vdf.j2 > build_windows_openxr/installscript_win.vdf
pip install -U jinjanator
jinjanate Support/steam/app.vdf.j2 > build_windows_openxr/app.vdf
jinjanate Support/steam/main_depot.vdf.j2 > build_windows_openxr/main_depot.vdf
jinjanate Support/steam/installscript_win.vdf.j2 > build_windows_openxr/installscript_win.vdf
steamcmd +login $STEAM_USERNAME +run_app_build $(pwd)/build_windows_openxr/app.vdf +quit
env:
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
Expand Down

0 comments on commit 23fb016

Please sign in to comment.