Add workflow

This commit is contained in:
RedBigz 2024-06-15 11:44:23 +10:00
parent 920a672bce
commit 1857e6b14f

27
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Build SpookTubeEX
run-name: ${{ github.actor }} started a deployment
on: [push]
jobs:
compile:
name: Build
runs-on: ubuntu-latest
steps:
- name: Clone the repo
uses: actions/checkout@v4
- name: Copy Game Assemblies (Totally Legal)
run: cp -r /cw/* ${{ github.workspace }}/lib
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "4.7.2"
- name: Restore Solution
run: dotnet restore
- name: Build Solution
run: dotnet build -c release
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: SpookTubeEX
path: |
${{ github.workspace }}/bin/Release/com.redbigz.SpookTubeEX.dll