Skip to content

Commit 158095a

Browse files
committed
Update tools
1 parent 30731ac commit 158095a

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/gametracking.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
permissions:
3434
contents: write
3535
statuses: write
36+
env:
37+
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
3638
steps:
3739

3840
# Checkout and cache
@@ -71,6 +73,7 @@ jobs:
7173
uses: actions/setup-dotnet@v5
7274
with:
7375
dotnet-version: '10.x'
76+
cache: true
7477

7578
- name: Build tools
7679
if: steps.cache.outputs.cache-hit != 'true'

tools/DumpSource2

tools/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ mkdir -p exe
2121
echo "::group::Build VRF"
2222
cd ValveResourceFormat
2323
#dotnet clean --configuration Release CLI/CLI.csproj
24-
dotnet publish --configuration Release -p:PublishSingleFile=true --self-contained --output ../exe/Source2Viewer/ --runtime "$DOTNET_RUNTIME" -p:DefineConstants=VRF_NO_GENERATOR_VERSION CLI/CLI.csproj
24+
dotnet publish --configuration Release -p:PublishSingleFile=true -p:PublishReadyToRun=false --self-contained --output ../exe/Source2Viewer/ --runtime "$DOTNET_RUNTIME" -p:DefineConstants=VRF_NO_GENERATOR_VERSION CLI/CLI.csproj
2525
echo "::endgroup::"
2626

2727
# SteamFileDownloader
2828
echo "::group::Build SteamFileDownloader"
2929
cd ../SteamFileDownloader
30-
dotnet publish --configuration Release -p:PublishSingleFile=true --self-contained --output ../exe/SteamFileDownloader/ --runtime "$DOTNET_RUNTIME" SteamFileDownloader.csproj
30+
dotnet publish --configuration Release -p:PublishSingleFile=true -p:PublishReadyToRun=false --self-contained --output ../exe/SteamFileDownloader/ --runtime "$DOTNET_RUNTIME" SteamFileDownloader.csproj
3131
echo "::endgroup::"
3232

3333
# ProtobufDumper
3434
echo "::group::Build ProtobufDumper"
3535
cd ../SteamKit
3636
#dotnet clean --configuration Release Resources/ProtobufDumper/ProtobufDumper/ProtobufDumper.csproj
37-
dotnet publish --configuration Release -p:PublishSingleFile=true --self-contained --output ../exe/ProtobufDumper/ --runtime "$DOTNET_RUNTIME" Resources/ProtobufDumper/ProtobufDumper/ProtobufDumper.csproj
37+
dotnet publish --configuration Release -p:PublishSingleFile=true -p:PublishReadyToRun=false --self-contained --output ../exe/ProtobufDumper/ --runtime "$DOTNET_RUNTIME" Resources/ProtobufDumper/ProtobufDumper/ProtobufDumper.csproj
3838
echo "::endgroup::"
3939

4040
# Strings

0 commit comments

Comments
 (0)