Files
BetterAmongUs/.github/workflows/build.yml
T
2026-01-09 02:34:48 -06:00

34 lines
763 B
YAML

name: Build
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main ]
jobs:
build-mod:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- name: Add BepInEx NuGet source
run: |
# Add the BepInEx NuGet feed
dotnet nuget add source --name bepinex "https://nuget.bepinex.dev/v3/index.json"
- name: Build
run: dotnet build src/*.csproj --configuration Release
- name: Archive DLL file
uses: actions/upload-artifact@v4
with:
name: BetterAmongUs.dll
path: src/bin/Release/net6.0/BetterAmongUs.dll