Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit f0cba9f

Browse files
authored
Merge pull request #286 from google/2-step-release
Manually run the Build CI as part of the release
2 parents 1dff366 + 8905f03 commit f0cba9f

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build CI
33
on:
44
push:
55
branches: [ master ]
6-
workflow_call: {}
6+
workflow_dispatch: {}
77
pull_request:
88
branches: [ master ]
99
schedule:

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,3 @@ jobs:
6161
-H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \
6262
https://api.github.com/repos/google/closure-compiler-npm/releases \
6363
-d '{"tag_name":"v${{ github.event.inputs.COMPILER_VERSION_NUMBER }}.0.0","name":"${{ github.event.inputs.COMPILER_VERSION_NUMBER }}.0.0","body":"Closure-compiler ${{ github.event.inputs.COMPILER_VERSION_NUMBER }} release","draft":false,"prerelease":false,"generate_release_notes":true}'
64-
trigger-publication:
65-
name: Trigger Build and Publish
66-
needs: create-release
67-
uses: google/closure-compiler-npm/.github/workflows/build.yml@master

deployments.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
1. Run the [Compiler release workflow](https://github.com/google/closure-compiler-npm/actions/workflows/release.yml)
88
* For the `COMPILER_VERSION_NUMBER` input, use the actual version number here without the `v`.
99
2. Verify the workflow runs successfully. It will push the release commit and tag.
10-
3. Verify the Build CI workflow triggered from the commit builds and publishes the release successfully.
10+
3. Manually run the [Compiler Build CI workflow](https://github.com/google/closure-compiler-npm/actions/workflows/build.yml)
11+
4. Verify the new version published to npm.
1112

1213
## Deploying changes to the package CLIs or plugins
1314

0 commit comments

Comments
 (0)