Skip to content

feat: BattleScribe-spec roster engine, Roslyn-style compilation, workspace #971

feat: BattleScribe-spec roster engine, Roslyn-style compilation, workspace

feat: BattleScribe-spec roster engine, Roslyn-style compilation, workspace #971

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
env:
DOTNET_NOLOGO: 1
runs-on: ${{ matrix.os }}
steps:
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v3
with:
app-id: ${{ vars.WARHUB_BOT_APP_ID }}
private-key: ${{ secrets.WARHUB_BOT_PRIVATE_KEY }}
owner: WarHub
repositories: battlescribe-spec
- uses: actions/checkout@v6
with:
fetch-depth: 0 # all history
token: ${{ steps.app-token.outputs.token }}
submodules: true
- uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
- run: dotnet --info
- run: dotnet tool restore
- run: dotnet nbgv get-version
- run: dotnet restore -v m
- run: dotnet build --no-restore
- run: dotnet test --no-build
- run: dotnet pack
- name: Publish NuGet artifacts
uses: actions/upload-artifact@v7
with:
name: nugets-${{ runner.os }}
path: artifacts/package/release