Skip to content

CI: Build for BepInEx 6 #29

CI: Build for BepInEx 6

CI: Build for BepInEx 6 #29

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- "**"
- "!.github/workflows/main.yml"
- "!RhythmDoctor.CafeLink.slnx"
- "!RhythmDoctor.CafeLink/**"
- "RhythmDoctor.CafeLink/.idea"
- "RhythmDoctor.CafeLink/.editorconfig"
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
configuration: ["BepInEx5", "BepInEx6"]
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
with:
submodules: recursive
- name: Cache
uses: actions/cache@v4.2.3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget
- name: Build client
run: dotnet publish --configuration Debug-${{ matrix.configuration }} --output build --verbosity normal
- name: Upload client plugin
uses: actions/upload-artifact@v4.6.2
with:
name: "io.github.nonperforming.cafelink-${{ matrix.configuration }}.dll"
path: |
build/io.github.nonperforming.cafelink.dll
build/io.github.nonperforming.cafelink.pdb
if-no-files-found: error