Bump API to 1.0.8.1 #36
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: 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 |