diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index 8ab188ed8..a30c025cc 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -60,7 +60,9 @@ jobs: - name: Set up Dotnet uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + dotnet-version: | + 10.0.x + 9.0.x - name: Set up Protoc uses: arduino/setup-protoc@v3 @@ -75,6 +77,12 @@ jobs: - name: Download Steam game run: scripts/download_game.sh + - run: | + dotnet --info + dotnet --list-runtimes + bun --version + node --version + - name: Build run: bun run build-website env: diff --git a/packages/game/src/index.ts b/packages/game/src/index.ts index 5fe16704c..6738dd4ce 100644 --- a/packages/game/src/index.ts +++ b/packages/game/src/index.ts @@ -1 +1 @@ -export * from "../bin/Debug/net9.0/linux-x64/game"; +export * from "../bin/Debug/net9.0/linux-x64/game.js"; diff --git a/scripts/build_game.sh b/scripts/build_game.sh index 8ef89e106..0b6547570 100755 --- a/scripts/build_game.sh +++ b/scripts/build_game.sh @@ -1,2 +1,3 @@ cd packages/game -dotnet build --no-restore \ No newline at end of file +dotnet build -clp:ErrorsOnly +find ./bin -type f | sort diff --git a/scripts/setup.sh b/scripts/setup.sh index a523cbf6a..2b80b2cd8 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -5,6 +5,5 @@ bun run build:protos bun run build:proxyclient bun run build:catalogitemaccessor -cd ../game -dotnet restore -dotnet build \ No newline at end of file +cd ../.. +bun build-game