Skip to content

Commit

Permalink
Remove ubuntu build
Browse files Browse the repository at this point in the history
Consequently, artifacts get uploaded on windows.
  • Loading branch information
josephmyers committed May 20, 2024
1 parent ece79e6 commit 9454ede
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ jobs:

build-and-test:
name: "Build and Test"
strategy:
matrix:
os: [windows-latest]
runs-on: ${{ matrix.os }}
runs-on: windows-latest

steps:
- name: Checkout
Expand All @@ -39,13 +36,8 @@ jobs:
- name: Build and Pack
run: dotnet build --configuration Release

- name: Test (Ubuntu)
run: dotnet test --configuration Release --no-build --filter TestCategory!=RequiresDisplay -- NUnit.TestOutputXml=TestResults
if: matrix.os == 'ubuntu-latest'

- name: Test (Windows)
run: dotnet test --configuration Release --no-build -- NUnit.TestOutputXml=TestResults
if: matrix.os != 'ubuntu-latest'

- name: Upload Test Results
if: always()
Expand All @@ -61,7 +53,6 @@ jobs:
path: |
output/*.nupkg
output/*.snupkg
if: matrix.os == 'ubuntu-latest'
publish-nuget:
name: "Publish NuGet package"
Expand Down

0 comments on commit 9454ede

Please sign in to comment.