mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 05:30:45 -05:00
Update build.yaml and Dockerfile.dotnet
This commit is contained in:
parent
d0bdde28bb
commit
321c9eb7b1
@ -129,7 +129,7 @@ jobs:
|
|||||||
if: needs.check-tag-exists.outputs.proceed == 'true'
|
if: needs.check-tag-exists.outputs.proceed == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: refringe/spt-build-dotnet:0.0.2
|
image: refringe/spt-build-dotnet:0.0.3
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
@ -152,8 +152,8 @@ jobs:
|
|||||||
- name: Extract Client Version
|
- name: Extract Client Version
|
||||||
run: |
|
run: |
|
||||||
cd ./server-core/project/assets/configs
|
cd ./server-core/project/assets/configs
|
||||||
CLIENT_VERSION=$(python3 -c "import json; print(json.load(open('core.json'))['compatibleTarkovVersion'].split('.')[-1])")
|
CLIENT_VERSION=$(pwsh -Command "& {(\$json = Get-Content -Path './core.json' | ConvertFrom-Json); \$json.compatibleTarkovVersion.Split('.')[-1]}")
|
||||||
echo "Client Version: $CLIENT_VERSION"
|
echo "Extracted Client Version: $CLIENT_VERSION"
|
||||||
echo "::set-output name=client_version::$CLIENT_VERSION"
|
echo "::set-output name=client_version::$CLIENT_VERSION"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ jobs:
|
|||||||
if: needs.check-tag-exists.outputs.proceed == 'true'
|
if: needs.check-tag-exists.outputs.proceed == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: refringe/spt-build-dotnet:0.0.2
|
image: refringe/spt-build-dotnet:0.0.3
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
|
@ -3,6 +3,6 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0
|
|||||||
|
|
||||||
# Install necessary tools and dependencies (git, zstd, wget, jq, and p7zip-full)
|
# Install necessary tools and dependencies (git, zstd, wget, jq, and p7zip-full)
|
||||||
RUN apt-get update && \
|
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 && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user