ci: fix CI again
This commit is contained in:
parent
dd5f7256fc
commit
d8c4649f92
@ -24,8 +24,8 @@ pipeline:
|
|||||||
unzip -q TML.Patcher.zip -d TMLPatcher
|
unzip -q TML.Patcher.zip -d TMLPatcher
|
||||||
- |
|
- |
|
||||||
rm -f /root/.steam/steamapps/workshop/content/1281930/2563309347/workshop.json
|
rm -f /root/.steam/steamapps/workshop/content/1281930/2563309347/workshop.json
|
||||||
VER=$(ls /root/.steam/steamapps/workshop/content/1281930/2563309347 | cut -c 6- | sort | head -n 1)
|
YEAR=$(ls /root/.steam/steamapps/workshop/content/1281930/2563309347 | cut -c -4 | sort -nr | head -n 1)
|
||||||
YEAR=$(ls /root/.steam/steamapps/workshop/content/1281930/2563309347 | cut -c -4 | sort | head -n 1)
|
VER=$(find /root/.steam/steamapps/workshop/content/1281930/2563309347/ -type d -name "$YEAR.*" -printf "%f\n" | cut -c 6- | sort -nr | head -n 1)
|
||||||
cp /root/.steam/steamapps/workshop/content/1281930/2563309347/$YEAR.$VER/MagicStorage.tmod ./
|
cp /root/.steam/steamapps/workshop/content/1281930/2563309347/$YEAR.$VER/MagicStorage.tmod ./
|
||||||
- dotnet TMLPatcher/TML.Patcher.dll extract MagicStorage.tmod
|
- dotnet TMLPatcher/TML.Patcher.dll extract MagicStorage.tmod
|
||||||
- cp MagicStorage/MagicStorage.dll $CI_WORKSPACE/
|
- cp MagicStorage/MagicStorage.dll $CI_WORKSPACE/
|
||||||
|
Loading…
Reference in New Issue
Block a user