Skip to content

Commit b53f6eb

Browse files
committed
Ensure dump folder exists
1 parent 9df3d16 commit b53f6eb

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This repository contains shared tooling and scripts used by the individual game
77
### How it works
88

99
Each game has its own repository (e.g. [GameTracking-Dota2](https://github.com/SteamTracking/GameTracking-Dota2), [GameTracking-CS2](https://github.com/SteamTracking/GameTracking-CS2)) which contains:
10+
- `.github/workflows/update.yml` - workflow that calls the reusable workflow in this repository.
1011
- `files.json` - a mapping of depot ids and which files to download from them.
1112
- `update.sh` - the script that runs when the game is updated.
1213

tools/dump_source2.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ TOOLS_DIR="$(dirname "$(realpath -s "${BASH_SOURCE[0]}")")"
1010

1111
echo "::group::DumpSource2-$1"
1212

13+
mkdir -p "DumpSource2"
14+
1315
if [[ "$(uname -s)" == MINGW* ]] || [[ "$(uname -s)" == MSYS* ]]; then
1416
DUMPER_PATH="$TOOLS_DIR/DumpSource2/build/Release/DumpSource2-$1.exe"
1517
DUMP_DIR="$(realpath "DumpSource2/")"

0 commit comments

Comments
 (0)