-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Checkout from the workflow - Without this, composite actions aren't accessible - Add bash shell specifier to runners - Pass secrets as inputs - Composite actions can't access secrets, so we pass them as inputs Diffs= 73977611cb Fix issues with re-release script (#8633) Co-authored-by: Erik <[email protected]>
- Loading branch information
1 parent
fef4bfc
commit b8bcf09
Showing
6 changed files
with
86 additions
and
23 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
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 |
---|---|---|
|
@@ -17,33 +17,41 @@ inputs: | |
description: "Minor" | ||
type: boolean | ||
default: false | ||
Rive-repo-PAT: | ||
description: "The GitHub Personal Access Token for the Rive repository" | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install dependencies | ||
shell: bash | ||
run: npm ci | ||
working-directory: ./.github/scripts/release | ||
- name: Git config | ||
shell: bash | ||
run: | | ||
git config --local user.email '[email protected]' | ||
git config --local user.name ${{ github.actor }} | ||
- if: ${{ inputs.major == true }} | ||
name: Major Release - Bump version number, update changelog, push and tag | ||
shell: bash | ||
run: npm run release -- major --ci | ||
working-directory: ./.github/scripts/release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RIVE_REPO_PAT }} | ||
GITHUB_TOKEN: ${{ inputs.Rive-repo-PAT }} | ||
- if: ${{inputs.major == false && inputs.minor == true}} | ||
name: Minor release - Bump version number, update changelog, push and tag | ||
shell: bash | ||
run: npm run release -- minor --ci | ||
working-directory: ./.github/scripts/release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RIVE_REPO_PAT }} | ||
GITHUB_TOKEN: ${{ inputs.Rive-repo-PAT }} | ||
- if: ${{inputs.major == false && inputs.minor == false}} | ||
name: Build release - Bump version number, update changelog, push and tag | ||
shell: bash | ||
run: npm run release -- --ci | ||
working-directory: ./.github/scripts/release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RIVE_REPO_PAT }} | ||
GITHUB_TOKEN: ${{ inputs.Rive-repo-PAT }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
28582ea0fda2be47d7a0f00eea28ee318a469111 | ||
73977611cb80960092a765fc3a0ffdbb2c3d50b5 |