Skip to content

Draft: Feature/dotnet6 #152

Draft: Feature/dotnet6

Draft: Feature/dotnet6 #152

Workflow file for this run

name: .NET
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Build
run: dotnet build -c Release --no-restore
- name: Run Tests
run: dotnet test -c Release --no-build --verbosity normal --filter "Category!=LongRunning"
# - name: Pack
# run: dotnet pack src/Orleans.SyncWork/Orleans.SyncWork.csproj -c Release --no-restore --no-build --include-symbols -p:SymbolPackageFormat=snupkg -o .
#
# - name: Push to NuGet
# run: dotnet nuget push *.nupkg --skip-duplicate -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}}