Skip to content

Commit

Permalink
Update job conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich committed Aug 13, 2024
1 parent 4be854e commit ef5a6e0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ variables:
stages:
- stage: CreateBetaReleaseTag
displayName: "Tag Beta Release"
condition: variables.IsMaster
jobs:
- job: GitVersion
pool:
vmImage: "windows-2019"
condition: variables.IsMaster
steps:
- template: gitversion/store.yml@rsg
parameters:
Expand Down Expand Up @@ -69,11 +69,11 @@ stages:

- stage: BuildRelease
displayName: "Build Release"
condition: variables.IsRelease
jobs:
- job: GitVersion
pool:
vmImage: "windows-2019"
condition: variables.IsRelease
steps:
- template: gitversion/store.yml@rsg
parameters:
Expand All @@ -83,7 +83,6 @@ stages:
- job: macOS
pool:
vmImage: "macos-12"
condition: not(variables.IsMaster)
dependsOn: GitVersion
steps:
- template: ./.pipelines/init.yml
Expand All @@ -105,7 +104,6 @@ stages:
- job: Linux
pool:
vmImage: "ubuntu-20.04"
condition: not(variables.IsMaster)
dependsOn: GitVersion
steps:
- template: ./.pipelines/init.yml
Expand All @@ -126,7 +124,6 @@ stages:
- job: Windows
pool:
vmImage: "windows-2022"
condition: not(variables.IsMaster)
dependsOn: GitVersion
steps:
- template: ./.pipelines/init.yml
Expand Down Expand Up @@ -184,7 +181,6 @@ stages:
packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg"
publishVstsFeed: Builds/omnisharp
allowPackageConflicts: true
condition: succeeded()
- task: NuGetCommand@2
displayName: "Push NuGet packages to nuget.org"
inputs:
Expand All @@ -196,7 +192,6 @@ stages:
condition: and(succeeded(), variables.IsOfficialRelease)
- task: GitHubRelease@1
displayName: "GitHub release (edit)"
condition: succeeded()
inputs:
gitHubConnection: github
repositoryName: OmniSharp/omnisharp-roslyn
Expand Down

0 comments on commit ef5a6e0

Please sign in to comment.