diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e96e2e9..48bb232 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -129,7 +129,7 @@ jobs: if: needs.check-tag-exists.outputs.proceed == 'true' runs-on: ubuntu-latest container: - image: refringe/spt-build-dotnet:0.0.2 + image: refringe/spt-build-dotnet:0.0.3 steps: - name: Clone run: | @@ -152,8 +152,8 @@ jobs: - name: Extract Client Version run: | cd ./server-core/project/assets/configs - CLIENT_VERSION=$(python3 -c "import json; print(json.load(open('core.json'))['compatibleTarkovVersion'].split('.')[-1])") - echo "Client Version: $CLIENT_VERSION" + CLIENT_VERSION=$(pwsh -Command "& {(\$json = Get-Content -Path './core.json' | ConvertFrom-Json); \$json.compatibleTarkovVersion.Split('.')[-1]}") + echo "Extracted Client Version: $CLIENT_VERSION" echo "::set-output name=client_version::$CLIENT_VERSION" shell: bash @@ -162,7 +162,7 @@ jobs: if: needs.check-tag-exists.outputs.proceed == 'true' runs-on: ubuntu-latest container: - image: refringe/spt-build-dotnet:0.0.2 + image: refringe/spt-build-dotnet:0.0.3 steps: - name: Clone run: | diff --git a/Dockerfile.dotnet b/Dockerfile.dotnet index ae6f7ef..aa12a05 100644 --- a/Dockerfile.dotnet +++ b/Dockerfile.dotnet @@ -3,6 +3,6 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 # Install necessary tools and dependencies (git, zstd, wget, jq, and p7zip-full) RUN apt-get update && \ - apt-get install -y git zstd wget jq p7zip-full && \ + apt-get install -y git zstd wget p7zip-full && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*