Skip to content

feat: Increase max log count #94

feat: Increase max log count

feat: Increase max log count #94

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
dotnet-version: [ '8.0' ]
os: [ubuntu-latest, windows-latest]
renderer: ["MrTroble/Project-BSE"]
include:
- os: ubuntu-latest
renderer-name: "TGAppLinux"
- os: windows-latest
renderer-name: "TGAppWindows"
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test --filter 'FullyQualifiedName!~ProjectBSE.Interop.Test' -c Release --no-build
- name: Download renderer artifact
if: github.ref == 'refs/heads/master'
uses: aochmann/[email protected]
with:
repo: ${{ matrix.renderer }}
latest: true
name: ${{ matrix.renderer-name }}
path: CreationEditor.Skyrim.Avalonia/bin/Release/net${{ matrix.dotnet-version }}
- name: Upload a Build Artifact
if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v3
with:
name: Creation Companion
path: CreationEditor.Skyrim.Avalonia/bin/Release/net${{ matrix.dotnet-version }}