Skip to content

Fix Provisioning not applying minplayercount #38

Fix Provisioning not applying minplayercount

Fix Provisioning not applying minplayercount #38

Workflow file for this run

name: BitMod.Nightlies
on: [push, pull_request]
jobs:
build:
name: Build Nightlies
needs: [test]
runs-on: ubuntu-latest
strategy:
matrix:
runtime: [ 'win-x64', 'win-x86', 'linux-x64', linux-musl-x64 ]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-quality: 'ga'
- name: Build ${{ matrix.runtime }}
run: dotnet publish BitMod.Stable.sln -c Release -r ${{ matrix.runtime }}
- name: Upload Files
uses: actions/upload-artifact@v3
with:
name: nightly-${{ matrix.runtime }}
path: build/
test:
name: Test Nightlies
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-quality: 'ga'
- name: Install dependencies
run: dotnet restore BitMod.sln
- name: Build
run: dotnet build tests/BitMod.Tests --framework net6.0 --configuration Release --no-restore
- name: Test
run: dotnet test tests/BitMod.Tests --framework net6.0 --configuration Release --no-build --no-restore --verbosity normal