mirror of
https://github.com/chmln/sd
synced 2025-02-16 15:58:23 +00:00
Add condition for tagged commits
This commit is contained in:
parent
f78514a029
commit
1fe168ee43
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
jobs:
|
||||
- job: ${{ parameters.name }}
|
||||
condition: eq(variables['build.sourceBranch'], 'refs/heads/master')
|
||||
condition: and(eq($(Build.SourceBranch), 'refs/heads/master'), contains($(Build.SourceBranch), 'tags'))
|
||||
dependsOn: test
|
||||
pool:
|
||||
vmImage: ${{ parameters.vmImage }}
|
||||
|
|
Loading…
Add table
Reference in a new issue