Skip to content

more

more #96

Workflow file for this run

name: .NET
on: push
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.x.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Debug --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- uses: actions/upload-artifact@v4
with:
name: CustomModels
path: CustomModels/bin
- name: Upload Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: CustomModels/bin/Release/CustomModels.dll
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}