-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
2 changed files
with
39 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -12,13 +12,27 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download promotion type artifact | ||
uses: dawidd6/action-download-artifact@v6 | ||
with: | ||
name: promotiontype | ||
workflow: fully-automated-release.yml | ||
github_token: ${{ secrets.ACTION_ACCESS_TOKEN }} | ||
|
||
- name: Get promotion type from artifact | ||
id: promotype | ||
run: | | ||
echo "promotype=$(cat promotiontype.txt)" >> $GITHUB_OUTPUT | ||
- name: Bump tag version and push tag | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
with: | ||
# by default, this action creates a tag with a 'v' prefix, and bumps the patch version. | ||
# See https://github.com/mathieudutour/github-tag-action to customize these rules. | ||
github_token: ${{ secrets.ACTION_ACCESS_TOKEN }} | ||
default_bump: ${{ steps.promotype.outputs.promotype }} | ||
|
||
- name: Show the new tag | ||
run: | | ||
|
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