Skip to content

Add .NET 8.0 as Target Framework, migrate TOM #86

Add .NET 8.0 as Target Framework, migrate TOM

Add .NET 8.0 as Target Framework, migrate TOM #86

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build-and-test:
name: build-and-test--${{ matrix.os-version }}
runs-on: ${{ matrix.os-version }}
strategy:
matrix:
os-version: [windows-latest] #, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
global-json-file: global.json
- name: restore
run: dotnet restore ./src
- name: build
run: dotnet build ./src/Dax.Template.sln --configuration Release --no-restore
- name: test
run: dotnet test ./src/Dax.Template.Tests/Dax.Template.Tests.csproj --configuration Release --no-build --verbosity normal
- name: pack
run: dotnet pack ./src/Dax.Template/Dax.Template.csproj --configuration Release --no-build --no-restore --verbosity normal