Skip to content

Commit

Permalink
Minor tweaks to the dotnet build scripting
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickson committed Jan 4, 2024
1 parent f90afb8 commit 111c913
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 66 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/dotnetci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,25 @@ jobs:
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.*
dotnet-version: 6.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore
# - name: Run Tests
# run: dotnet test --logger "trx;LogFileName=<TestResults.trx>"
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}}
62 changes: 0 additions & 62 deletions .github/workflows/msbuildnet6.yml

This file was deleted.

0 comments on commit 111c913

Please sign in to comment.