10
10
11
11
jobs :
12
12
build :
13
- runs-on : ubuntu-latest
13
+ runs-on : ubuntu-22.04
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v4
17
17
with :
18
18
fetch-depth : 0
19
19
@@ -31,14 +31,14 @@ jobs:
31
31
- name : Install NuGet dependencies
32
32
run : |
33
33
# 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 /
36
36
37
37
nuget restore Pokeheim.sln
38
38
39
39
- name : Cache Valheim
40
40
id : cachevalheim
41
- uses : actions/cache@v2
41
+ uses : actions/cache@v4
42
42
with :
43
43
path : ~/VHINSTALL
44
44
key : ${{ steps.valheimversion.outputs.valheimversion }}-${{ hashFiles('**/lockfiles') }}-BepInExPack-${{ steps.bepinexversion.outputs.bepinexversion }}
@@ -50,12 +50,12 @@ jobs:
50
50
- name : Prepare Pokeheim dependencies
51
51
if : steps.cachevalheim.outputs.cache-hit != 'true'
52
52
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 }}/"
54
54
unzip bepinex.zip -d ~/BepInExRaw
55
55
steamcmd +login anonymous +force_install_dir ~/VHINSTALL +app_update 896660 validate +exit
56
56
mv ~/VHINSTALL/valheim_server_Data/ ~/VHINSTALL/valheim_Data/
57
57
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/"
59
59
unzip mountup.zip -d ~/VHINSTALL/BepInEx/plugins/
60
60
61
61
- name : Remove old DLLs
@@ -84,15 +84,15 @@ jobs:
84
84
run : |
85
85
RELEASE_VERSION="${RELEASE_VERSION:-0.0.1}" ./scripts/package.sh
86
86
87
- - uses : actions/upload-artifact@v2
87
+ - uses : actions/upload-artifact@v4
88
88
with :
89
89
# Will result in Pokeheim.zip
90
90
name : Pokeheim
91
91
# Everything in this folder will be archived, but not the folder
92
92
path : staging/
93
93
94
94
- name : Release
95
- uses : softprops/action-gh-release@v1
95
+ uses : softprops/action-gh-release@v2
96
96
if : startsWith(github.ref, 'refs/tags/')
97
97
with :
98
98
files : Pokeheim.zip
0 commit comments