Use recommended .yaml
extension for YAML files, rather than .yml
.…
#9
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: FreeCamera | |
on: | |
pull_request: | |
paths: | |
- 'FreeCamera/**' | |
- '.github/workflows/FreeCamera.yaml' | |
push: | |
branches: | |
- 'main' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Add Dependencies | |
run: | | |
wget -O deps.zip https://gist.github.com/orendain/9053d92b9f3571c619618619665c8cbc/raw/1d94aee9fe14b23affdb975d57aa6b4c5f6c04f2/2023-09-07.zip | |
7z x deps.zip -o./libs | |
- name: Build BepInEx Plugin | |
run: dotnet build FreeCamera/FreeCamera.csproj -c BepInEx -v d | |
- name: Build MelonLoader Mod | |
run: dotnet build FreeCamera/FreeCamera.csproj -c MelonLoader -v d | |
- name: Upload BepInEx DLL | |
uses: actions/upload-artifact@v3 | |
with: | |
name: FreeCamera.BIE.dll | |
path: FreeCamera/bin/netstandard2.1/FreeCamera.BIE.dll | |
- name: Upload MelonLoader DLL | |
uses: actions/upload-artifact@v3 | |
with: | |
name: FreeCamera.ML.dll | |
path: FreeCamera/bin/netstandard2.1/FreeCamera.ML.dll |