mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
download entire game on miss
This commit is contained in:
1 parent
f8e8fd4016
commit
73c53d6ef5
2 files changed
+12
-4
No files matched your search
@@ -28,7 +28,9 @@ env:
|
|||||||
# steam
|
# steam
|
||||||
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
|
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
|
||||||
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
|
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
|
||||||
FINGERPRINT: Manifest_UFSFiles_Win64.txt
|
STEAM_APP: 3341250
|
||||||
|
STEAM_OS: windows
|
||||||
|
STEAM_FINGERPRINT: Manifest_UFSFiles_Win64.txt
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -75,12 +77,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./scripts/download_fingerprint.sh
|
./scripts/download_fingerprint.sh
|
||||||
|
|
||||||
- uses: actions/cache@v5
|
- name: Download cached game
|
||||||
|
uses: actions/cache@v5
|
||||||
id: game-cache
|
id: game-cache
|
||||||
with:
|
with:
|
||||||
path: temp/game
|
path: temp/game
|
||||||
key: ${{ runner.os }}-${{ hashFiles(format('temp/game/{0}', env.FINGERPRINT)) }}
|
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
|
- name: Build
|
||||||
run: bun run build-website
|
run: bun run build-website
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ set -a
|
|||||||
source .env
|
source .env
|
||||||
set +a
|
set +a
|
||||||
|
|
||||||
echo $FINGERPRINT > $FILES
|
echo $STEAM_FINGERPRINT > $FILES
|
||||||
$DEPOT_DOWNLOADER -os windows -app 3341250 -filelist $FILES -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME
|
$DEPOT_DOWNLOADER -os $STEAM_OS -app $STEAM_APP -filelist $FILES -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME
|
||||||
Reference in new issue
Block a user