gagen 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/esm/job.js +2 -2
  2. package/package.json +1 -1
package/esm/job.js CHANGED
@@ -395,9 +395,9 @@ export class Job {
395
395
  }
396
396
  if (config.strategy.failFast != null) {
397
397
  const ff = config.strategy.failFast;
398
- s["fail-fast"] = typeof ff === "boolean"
398
+ s["fail-fast"] = typeof ff === "boolean" || typeof ff === "string"
399
399
  ? ff
400
- : serializeConditionLike(ff);
400
+ : ff.toString();
401
401
  }
402
402
  if (config.strategy.maxParallel != null) {
403
403
  s["max-parallel"] = config.strategy.maxParallel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gagen",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Generate complex GitHub Actions YAML files using a declarative API.",
5
5
  "repository": {
6
6
  "type": "git",