fix: use custom dir

This commit is contained in:
tresabhi committed 2025-01-25 21:48:33 -06:00
1 parent 55e5298ba6
commit 9158f0bb79
1 file changed
+3 -15
+3 -15
View File
@@ -63,21 +63,9 @@ jobs:
-os ${{ env.STEAM_OS }} \
-app ${{ env.STEAM_APP }} \
-depot ${{ env.STEAM_DEPOT }} \
-dir temp/depots
-dir temp/depot
- name: Unpack
run: |
cd temp/depots/${{ env.STEAM_APP }}
SUBDIR_COUNT=$(ls | wc -l)
if [ "$SUBDIR_COUNT" -ne 1 ]; then
echo "Error: Expected exactly 1 subdirectory, found $SUBDIR_COUNT"
exit 1
fi
DEPOT_BRANCH_BUILD_ID=$(ls)
echo "Found build ID: $DEPOT_BRANCH_BUILD_ID"
cd ../../../src/CLI
dotnet run unpack ../../temp/depots/${{ env.STEAM_APP }}/$DEPOT_BRANCH_BUILD_ID/
cd src/CLI
dotnet run unpack ../../temp/depot/