Removing windows as a dependency for release as we don't care about w… #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Windows | |
on: | |
push: | |
branches: [ master,net50 ] | |
pull_request: | |
branches: [ master,net50 ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET 8.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install rabbitmq | |
shell: pwsh | |
run: choco install rabbitmq -Version 3.8.5 | |
- name: Restore dependencies | |
run: | | |
dotnet nuget locals all --clear | |
dotnet restore | |
- name: Build | |
run: dotnet build --no-restore -c Release | |
- name: Test | |
run: dotnet test Rebus.RabbitMq.Tests --no-build --verbosity normal -c Release |