wasmerio / wasmer-pack

MIT License
49 stars 5 forks source link

Allow certain steps of a release to fail when the workflow is triggered manually #107

Closed Michael-F-Bryan closed 2 years ago

Michael-F-Bryan commented 2 years ago

This modifies release.yml so that publishing to WAPM may fail when the release workflow is triggered manually (i.e. workflow_dispatch).

This lets developers manually retry a release and "skip" (i.e. not error out) on when you get a "wasmer/wasmer-pack v1.2.3 has already been published" error.

You still need to keep an eye on the release job to make sure packages really were published successfully, but at least now there is an escape hatch for dealing with WAPM auth issues (e.g. if the WAPM_PROD_TOKEN secret is no longer accessible).

github-actions[bot] commented 2 years ago

⏱ Workflow Timer ⏱

🥳 The run time for "Continuous Integration" has improved a lot by 58s (25.37%) 🥳

The current run time is 2mins 52s while master took 3mins 51s.