-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9709ae6
commit 2293fb2
Showing
19 changed files
with
71 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,12 @@ | |
name: CI - Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
ref: | ||
required: true | ||
type: string | ||
default: latest | ||
workflow_call: | ||
inputs: | ||
ref: | ||
|
@@ -23,7 +29,7 @@ jobs: | |
steps: | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
|
||
if: inputs.check-sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Lint All" | ||
|
@@ -57,7 +63,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
|
||
if: inputs.check-sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -85,7 +91,7 @@ jobs: | |
run: node . run postlint --ignore-scripts -ws -iwr --if-present | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: steps.check.outputs.check_id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ job.status }} | ||
|
@@ -121,7 +127,7 @@ jobs: | |
steps: | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
|
||
if: inputs.check-sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Test All" | ||
|
@@ -155,7 +161,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
|
||
if: inputs.check-sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -186,7 +192,7 @@ jobs: | |
run: node scripts/git-dirty.js | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: steps.check.outputs.check_id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ job.status }} | ||
|
@@ -219,7 +225,7 @@ jobs: | |
steps: | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
|
||
if: inputs.check-sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Smoke Publish" | ||
|
@@ -253,7 +259,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
|
||
if: inputs.check-sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -288,7 +294,7 @@ jobs: | |
SMOKE_PUBLISH_NPM=1 npm test -w smoke-tests --ignore-scripts | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: steps.check.outputs.check_id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ job.status }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
branches: | ||
- main | ||
- latest | ||
- release/v* | ||
|
||
permissions: | ||
contents: write | ||
|
@@ -85,7 +86,7 @@ jobs: | |
return commentId | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
if: steps.release.outputs.pr-number | ||
if: steps.release.outputs.pr-sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Release" | ||
|
@@ -119,7 +120,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
if: steps.release.outputs.pr-number | ||
if: steps.release.outputs.pr-sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -173,7 +174,7 @@ jobs: | |
echo "::set-output name=sha::$(git rev-parse HEAD)" | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
|
||
if: steps.commit.outputs.sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Update - Release" | ||
|
@@ -207,7 +208,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
|
||
if: steps.commit.outputs.sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -216,7 +217,7 @@ jobs: | |
output: ${{ steps.check-output.outputs.result }} | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: needs.release.outputs.check-id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ job.status }} | ||
|
@@ -254,7 +255,7 @@ jobs: | |
echo "::set-output name=result::$result" | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: needs.update.outputs.check-id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ steps.needs-result.outputs.result }} | ||
|
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
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.