-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(repo): refactor publish.yml for PR releases (#26550)
Redo of #26509, with more guards for unexpected missing/relative values within full releases in GitHub Actions. --- Refactors our publish workflow to support PR releases, in addition to our previous triggers. **Tests:** --- - Example of failure on non-PR release (comment skipped): https://github.com/nrwl/nx/actions/runs/9480869812 --- - Example of failure on PR release (comment created on PR): - https://github.com/nrwl/nx/actions/runs/9480852880 - #26515 (comment) --- - Example of dry-run of full release (`workflow_dispatch` with no PR number provided): https://github.com/nrwl/nx/actions/runs/9497871483 --- - Real PR release created here: | Release details | 📑 | | ------------- | ------------- | | **Published version** | [0.0.0-pr-26515-856ef7f](https://www.npmjs.com/package/nx/v/0.0.0-pr-26515-856ef7f) | | **Triggered by** | @JamesHenry | | **Branch** | [JamesHenry-patch-1](https://github.com/nrwl/nx/tree/JamesHenry-patch-1) | | **Commit** | [856ef7f](856ef7f) | | **Workflow run** | [9497298216](https://github.com/nrwl/nx/actions/runs/9497298216) | --------- Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
- Loading branch information
1 parent
e22021d
commit 42749b8
Showing
5 changed files
with
487 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.