You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
The latter (steps) gets a little ugly with the amount of nesting, but in the use case that I have an optional job I can work around this by redefining the entire workflow again, and include the extra job, but the permutations here could explode.
Use case - only publish asset when version is provided.
version: 2.1
parameters:
publish_target:
default: "" #empty values considered FALSEY
type: string
workflows:
basic:
jobs:
- sample_job:
name: Build It
- sample_job:
name: Share It
when: <<pipeline.parameters.publish_target>>
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With current features we can use parameters to have conditional workflows and conditional steps
The latter (steps) gets a little ugly with the amount of nesting, but in the use case that I have an optional job I can work around this by redefining the entire workflow again, and include the extra job, but the permutations here could explode.
Use case - only publish asset when version is provided.
The text was updated successfully, but these errors were encountered: