-
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (32 loc) · 1.1 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build Solution
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.300"
- 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 Solution
run: dotnet build -c release -p:TABGManaged=$(pwd)/Managed
- name: Copy Binary to Template
run: cp ./TABGVR/bin/Release/netstandard2.1/TABGVR.dll Template/TABGVR/plugins
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: TABGVR
path: "./Template/*"