-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecated GitHub action commands (#45)
* Formatting workflows files * Fix deprecated set-output commands Co-authored-by: Emily Rockman <[email protected]>
- Loading branch information
1 parent
7920b75
commit b37524a
Showing
5 changed files
with
16 additions
and
22 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
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,9 +17,9 @@ on: | |
workflow_call: | ||
inputs: | ||
version_number: | ||
description: 'The version number to bump to (ex. 1.2.0, 1.3.0b1)' | ||
type: string | ||
required: true | ||
description: "The version number to bump to (ex. 1.2.0, 1.3.0b1)" | ||
type: string | ||
required: true | ||
|
||
jobs: | ||
bump: | ||
|
@@ -67,7 +67,7 @@ jobs: | |
- name: Set branch value | ||
id: variables | ||
run: | | ||
echo "::set-output name=BRANCH_NAME::prep-release/${{ github.event.inputs.version_number }}_$GITHUB_RUN_ID" | ||
echo "BRANCH_NAME=prep-release/${{ github.event.inputs.version_number }}_$GITHUB_RUN_ID" >> $GITHUB_OUTPUT | ||
- name: Create PR branch | ||
run: | | ||
|
@@ -110,18 +110,18 @@ jobs: | |
- name: Commit version bump to branch | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
author_name: 'Github Build Bot' | ||
author_email: '[email protected]' | ||
message: 'Bumping version to ${{ github.event.inputs.version_number }} and generate CHANGELOG' | ||
branch: '${{ steps.variables.outputs.BRANCH_NAME }}' | ||
push: 'origin origin/${{ steps.variables.outputs.BRANCH_NAME }}' | ||
author_name: "Github Build Bot" | ||
author_email: "[email protected]" | ||
message: "Bumping version to ${{ github.event.inputs.version_number }} and generate CHANGELOG" | ||
branch: "${{ steps.variables.outputs.BRANCH_NAME }}" | ||
push: "origin origin/${{ steps.variables.outputs.BRANCH_NAME }}" | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
author: 'Github Build Bot <[email protected]>' | ||
author: "Github Build Bot <[email protected]>" | ||
base: ${{github.ref}} | ||
title: 'Bumping version to ${{ github.event.inputs.version_number }} and generate changelog' | ||
branch: '${{ steps.variables.outputs.BRANCH_NAME }}' | ||
title: "Bumping version to ${{ github.event.inputs.version_number }} and generate changelog" | ||
branch: "${{ steps.variables.outputs.BRANCH_NAME }}" | ||
labels: | | ||
Skip Changelog |