Skip to content

Commit 996d452

Browse files
committed
Fix build workflow
- Downgrade Ubuntu - Tweak NuGet workarounds - Update thunderstore URLs
1 parent b19f760 commit 996d452

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
@@ -31,8 +31,8 @@ jobs:
3131
- name: Install NuGet dependencies
3232
run: |
3333
# Fixes weird permission errors that started in GitHub Actions
34-
# environments on June 14th:
35-
sudo chown -R $USER /tmp/NuGetScratch/
34+
# environments on January 24th 2023:
35+
sudo chown -R $USER ~/.config/NuGet/
3636
3737
nuget restore Pokeheim.sln
3838
@@ -50,12 +50,12 @@ jobs:
5050
- name: Prepare Pokeheim dependencies
5151
if: steps.cachevalheim.outputs.cache-hit != 'true'
5252
run: |
53-
wget -O bepinex.zip "https://valheim.thunderstore.io/package/download/denikson/BepInExPack_Valheim/${{ steps.bepinexversion.outputs.bepinexversion }}/"
53+
wget -O bepinex.zip "https://thunderstore.io/package/download/denikson/BepInExPack_Valheim/${{ steps.bepinexversion.outputs.bepinexversion }}/"
5454
unzip bepinex.zip -d ~/BepInExRaw
5555
steamcmd +login anonymous +force_install_dir ~/VHINSTALL +app_update 896660 validate +exit
5656
mv ~/VHINSTALL/valheim_server_Data/ ~/VHINSTALL/valheim_Data/
5757
mv ~/BepInExRaw/BepInExPack_Valheim/* ~/VHINSTALL/
58-
wget -O mountup.zip "https://valheim.thunderstore.io/package/download/Oran1/Mountup/3.2.9/"
58+
wget -O mountup.zip "https://thunderstore.io/package/download/Oran1/Mountup/3.2.9/"
5959
unzip mountup.zip -d ~/VHINSTALL/BepInEx/plugins/
6060
6161
- name: Remove old DLLs

0 commit comments

Comments
 (0)