mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +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
|
||||||
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
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -74,6 +75,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./scripts/download_fingerprint.sh
|
./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
|
- name: Build
|
||||||
run: bun run build-website
|
run: bun run build-website
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
TEMP="temp"
|
TEMP="temp"
|
||||||
FILES="scripts/fingerprint.txt"
|
FILES="temp/fingerprint.txt"
|
||||||
|
|
||||||
DEPOT_DOWNLOADER="$TEMP/DepotDownloader"
|
DEPOT_DOWNLOADER="$TEMP/DepotDownloader"
|
||||||
GAME="$TEMP/game"
|
GAME="$TEMP/game"
|
||||||
@@ -8,4 +8,5 @@ set -a
|
|||||||
source .env
|
source .env
|
||||||
set +a
|
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