download entire game on miss

This commit is contained in:
tresabhi committed 2026-05-25 13:50:37 -05:00
1 parent f8e8fd4016
commit 73c53d6ef5
2 files changed
+12 -4

No files matched your search

+10 -2
View File
@@ -28,7 +28,9 @@ env:
# steam
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
FINGERPRINT: Manifest_UFSFiles_Win64.txt
STEAM_APP: 3341250
STEAM_OS: windows
STEAM_FINGERPRINT: Manifest_UFSFiles_Win64.txt
jobs:
build:
@@ -75,12 +77,18 @@ jobs:
run: |
./scripts/download_fingerprint.sh
- uses: actions/cache@v5
- name: Download cached game
uses: actions/cache@v5
id: game-cache
with:
path: temp/game
key: ${{ runner.os }}-${{ hashFiles(format('temp/game/{0}', env.FINGERPRINT)) }}
- name: Download cache-missed game
if: steps.game-cache.outputs.cache-hit != 'true'
run: |
./scripts/download_game.sh
- name: Build
run: bun run build-website
env:
+2 -2
View File
@@ -8,5 +8,5 @@ set -a
source .env
set +a
echo $FINGERPRINT > $FILES
$DEPOT_DOWNLOADER -os windows -app 3341250 -filelist $FILES -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME
echo $STEAM_FINGERPRINT > $FILES
$DEPOT_DOWNLOADER -os $STEAM_OS -app $STEAM_APP -filelist $FILES -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME