Skip to content

Commit

Permalink
Cleanup workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Oct 2, 2023
1 parent cf251bf commit ef8eb74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
Build:
runs-on: ubuntu-latest
env:
buildConfiguration: 'Release'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1

steps:
Expand All @@ -51,15 +50,7 @@ jobs:
run: dotnet restore

- name: Build
run: >
dotnet build
--configuration $buildConfiguration
--no-restore
run: dotnet build --configuration Release --no-restore

- name: Test
run: >
dotnet test
--configuration $buildConfiguration
--no-build
--verbosity normal
--collect "Code coverage"
run: dotnet test --configuration Release --no-build
9 changes: 2 additions & 7 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,10 @@ jobs:
run: dotnet restore

- name: Build
run: dotnet build--configuration Release --no-restore
run: dotnet build --configuration Release --no-restore

- name: Test
run: >
dotnet test
--configuration Release
--no-build
--verbosity normal
--collect "Code coverage"
run: dotnet test --configuration Release --no-build

- name: Pack
run: >
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,7 @@ jobs:
run: dotnet build --configuration Release --no-restore

- name: Test
run: >
dotnet test
--configuration Release
--no-build
--verbosity normal
--collect "Code coverage"
run: dotnet test --configuration Release --no-build

- name: Pack
run: >
Expand Down

0 comments on commit ef8eb74

Please sign in to comment.