Skip to content

Commit

Permalink
Split up the yaml jobs (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Apr 16, 2024
1 parent 2bddf48 commit c76a66d
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions azure-pipelines-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,42 @@ jobs:
displayName: Build
steps:
- template: /scripts/azure-pipelines-steps-prepare.yml@self
- pwsh: dotnet cake
- pwsh: dotnet cake --target=build
displayName: Build everything
env:
JavaSdkDirectory: $(JAVA_HOME)
- publish: output
artifact: build
condition: always()
displayName: Upload Logs

- job: pack
displayName: Pack
steps:
- template: /scripts/azure-pipelines-steps-prepare.yml@self
- pwsh: dotnet cake --target=pack
displayName: Pack NuGet packages
env:
JavaSdkDirectory: $(JAVA_HOME)
- publish: output
artifact: pack
condition: always()
displayName: Upload Logs

- job: test
displayName: Test
steps:
- template: /scripts/azure-pipelines-steps-prepare.yml@self
- pwsh: dotnet cake --target=test
displayName: Run tests
env:
JavaSdkDirectory: $(JAVA_HOME)
- task: PublishTestResults@2
condition: always()
inputs:
testResultsFormat: VSTest
testResultsFiles: output/test-results/*.trx
- publish: output
artifact: windows
artifact: test
condition: always()
displayName: Upload Logs

0 comments on commit c76a66d

Please sign in to comment.