Skip to content

Commit 4a95fa0

Browse files
authored
Merge pull request #481 from joeyparrish/fix/ci-steamcmd-cold-cache
ci: fix Valheim dependency setup on a cold cache
2 parents 3a3549d + 243c6f4 commit 4a95fa0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
wget -O bepinex.zip "https://thunderstore.io/package/download/denikson/BepInExPack_Valheim/5.4.2333/"
5555
unzip bepinex.zip -d ~/BepInExRaw
56-
steamcmd +force_install_dir ~/VHINSTALL +login anonymous +app_update 896660 validate +exit
56+
steamcmd +force_install_dir ~/VHINSTALL +login anonymous +app_info_update 1 +app_update 896660 validate +exit
5757
mv ~/VHINSTALL/valheim_server_Data/ ~/VHINSTALL/Valheim_Data/
5858
mv ~/BepInExRaw/BepInExPack_Valheim/* ~/VHINSTALL/
5959

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# Get Valheim version id
1616
- name: Get Valheim version id
1717
id: valheimversion
18-
run: echo "valheimversion=$(curl -s https://api.steamcmd.net/v1/info/896660 | jq -r ".data.\"896660\".depots.branches.public.buildid")"
18+
run: echo "valheimversion=$(curl -s https://api.steamcmd.net/v1/info/896660 | jq -r ".data.\"896660\".depots.branches.public.buildid")" >> $GITHUB_OUTPUT
1919

2020
- name: Setup .NET 8
2121
uses: actions/setup-dotnet@v4
@@ -44,7 +44,7 @@ jobs:
4444
run: |
4545
wget -O bepinex.zip "https://thunderstore.io/package/download/denikson/BepInExPack_Valheim/5.4.2333/"
4646
unzip bepinex.zip -d ~/BepInExRaw
47-
steamcmd +force_install_dir ~/VHINSTALL +login anonymous +app_update 896660 validate +exit
47+
steamcmd +force_install_dir ~/VHINSTALL +login anonymous +app_info_update 1 +app_update 896660 validate +exit
4848
mv ~/VHINSTALL/valheim_server_Data/ ~/VHINSTALL/Valheim_Data/
4949
mv ~/BepInExRaw/BepInExPack_Valheim/* ~/VHINSTALL/
5050

.github/workflows/tag-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
wget -O bepinex.zip "https://thunderstore.io/package/download/denikson/BepInExPack_Valheim/5.4.2333/"
5656
unzip bepinex.zip -d ~/BepInExRaw
57-
steamcmd +force_install_dir ~/VHINSTALL +login anonymous +app_update 896660 validate +exit
57+
steamcmd +force_install_dir ~/VHINSTALL +login anonymous +app_info_update 1 +app_update 896660 validate +exit
5858
mv ~/VHINSTALL/valheim_server_Data/ ~/VHINSTALL/Valheim_Data/
5959
mv ~/BepInExRaw/BepInExPack_Valheim/* ~/VHINSTALL/
6060

0 commit comments

Comments
 (0)