Correct COMPILING.md (and Russian translation) to specify csproj when… #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Solution | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "6.0.422" | |
- name: Download Template | |
run: | | |
mkdir Template | |
curl -o qic.tar.xz https://redbigz.com/lfs/TABG.VR.QuickInstallerContainer.tar.xz | |
tar -xf qic.tar.xz -C Template | |
- name: Download Assemblies | |
run: | | |
mkdir Managed | |
curl -o managed.tar.xz https://redbigz.com/lfs/TABG.VR.ManagedStripped.tar.xz | |
tar -xf managed.tar.xz -C Managed | |
mkdir GameReferences | |
cp Template/TABGVR/core/* GameReferences # works well enough | |
- name: Build TABGVR (Client) | |
run: dotnet build -c Release -p:TABGManaged=$(pwd)/Managed TABGVR/TABGVR.csproj | |
- name: Copy Binary to Client Template | |
run: cp ./TABGVR/bin/Release/netstandard2.1/TABGVR.dll Template/TABGVR/plugins | |
- name: Upload Client Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: TABGVR | |
path: "./Template/*" | |
- name: Set up TABGVR.Server Build Environment | |
run: | | |
mkdir ManagedDS | |
curl https://redbigz.com/lfs/tabgds.tar | tar -x -C ManagedDS | |
- name: Build TABGVR.Server (CitrusLib) | |
run: dotnet build -c Release -p:TABGManaged=$(pwd)/ManagedDS -p:PluginTarget="Citrus" ./TABGVR.Server/TABGVR.Server.csproj | |
- name: Upload TABGVR.Server (CitrusLib) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: TABGVR.Server (CitrusLib) | |
path: "./TABGVR.Server/bin/Release/netstandard2.1/TABGVR.Server.dll" | |
- name: Build TABGVR.Server (TASM) | |
run: dotnet build -c Release -p:TABGManaged=$(pwd)/ManagedDS -p:PluginTarget="TASM" ./TABGVR.Server/TABGVR.Server.csproj | |
- name: Upload TABGVR.Server (CitrusLib) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: TABGVR.Server (TASM) | |
path: "./TABGVR.Server/bin/Release/netstandard2.1/TABGVR.Server.dll" |