Skip to content

Workflow trigger

Workflow trigger #1

Workflow file for this run

name: test
on:
push:
branches: [ master ]
paths:
- 'src/6.0/**'
jobs:
nuget:
runs-on: ubuntu-latest
env:
MAJOR_VERSION: 6
MINOR_VERSION: 0
SOLUTION_PATH: ./src/6.0
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore $SOLUTION_PATH
- name: Build
run: dotnet build $SOLUTION_PATH --no-restore --ignore-failed-sources /p:Version=$MAJOR_VERSION.$MINOR_VERSION.$GITHUB_RUN_NUMBER -c Release
- name: Test
run: dotnet test $SOLUTION_PATH --no-restore --verbosity normal