mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-03-13 09:58:07 -04:00
fix actions conditionals with missing quotes
(cherry picked from commit 900cbfd759
)
This commit is contained in:
parent
0ecb957fca
commit
acedbfd224
1 changed files with 2 additions and 2 deletions
|
@ -110,8 +110,8 @@ In a `workflow` file strings that look like `${{ ... }}` are evaluated by the `F
|
|||
|
||||
Can be used in `if:` conditionals on jobs and steps.
|
||||
|
||||
- `success()`. returns true when none of the previous jobs/steps have failed or been canceled.
|
||||
- `always()`. causes the job/step to always execute, and returns true, even when canceled. If you want to run a job/step regardless of its success or failure, use the recommended alternative: **!cancelled()**.
|
||||
- `success()`. returns true when none of the previous jobs/steps have failed or been cancelled.
|
||||
- `always()`. causes the job/step to always execute, and returns true, even when cancelled. If you want to run a job/step regardless of its success or failure, use the recommended alternative: `'!cancelled()'` (the expression must be enclosed by quotes to not be interpreted as YAML tag).
|
||||
- `failure()`. returns true when any previous step/job has failed.
|
||||
|
||||
### Functions
|
||||
|
|
Loading…
Add table
Reference in a new issue