mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
game cache fingerprinting
This commit is contained in:
1 parent
15b29f439a
commit
f8e8fd4016
3 files changed
+10
-3
No files matched your search
@@ -28,6 +28,7 @@ env:
|
||||
# steam
|
||||
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
|
||||
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
|
||||
FINGERPRINT: Manifest_UFSFiles_Win64.txt
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -74,6 +75,12 @@ jobs:
|
||||
run: |
|
||||
./scripts/download_fingerprint.sh
|
||||
|
||||
- uses: actions/cache@v5
|
||||
id: game-cache
|
||||
with:
|
||||
path: temp/game
|
||||
key: ${{ runner.os }}-${{ hashFiles(format('temp/game/{0}', env.FINGERPRINT)) }}
|
||||
|
||||
- name: Build
|
||||
run: bun run build-website
|
||||
env:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
TEMP="temp"
|
||||
FILES="scripts/fingerprint.txt"
|
||||
FILES="temp/fingerprint.txt"
|
||||
|
||||
DEPOT_DOWNLOADER="$TEMP/DepotDownloader"
|
||||
GAME="$TEMP/game"
|
||||
@@ -8,4 +8,5 @@ set -a
|
||||
source .env
|
||||
set +a
|
||||
|
||||
$DEPOT_DOWNLOADER -os windows -app 3341250 -filelist $FILES -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME
|
||||
echo $FINGERPRINT > $FILES
|
||||
$DEPOT_DOWNLOADER -os windows -app 3341250 -filelist $FILES -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME
|
||||
@@ -1 +0,0 @@
|
||||
Manifest_UFSFiles_Win64.txt
|
||||
Reference in new issue
Block a user