From 9158f0bb7966954acf42dfee0bdcf8d9fa2ce10b Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Sat, 25 Jan 2025 21:48:33 -0600 Subject: [PATCH] fix: use custom dir --- .github/workflows/assets.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 182b683ea..abf6aa8e2 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -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/