-
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.
* move to 1.20 * make extra attr optional * updated dep versions
- Loading branch information
Showing
7 changed files
with
125 additions
and
61 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Version Bump | ||
# Create the next available tag (based on commit comment) | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
run_for_real: | ||
required: true | ||
default: false | ||
type: boolean | ||
description: "Apply next tag (or Dry Run)" | ||
default_bump: | ||
required: true | ||
default: "minor" | ||
type: choice | ||
options: ['major', 'minor', 'patch', 'none'] | ||
description: "Default Version Bump" | ||
|
||
concurrency: production | ||
|
||
jobs: | ||
Tagging: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SC_GH_TAG_TOKEN }} | ||
with: | ||
fetch-depth: '0' | ||
- name: Determine Tag Details | ||
id: taggerDryRun | ||
uses: anothrNick/github-tag-action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SC_GH_TAG_TOKEN }} | ||
DEFAULT_BUMP: ${{ inputs.default_bump }} | ||
WITH_V: true | ||
DRY_RUN: true | ||
- name: Tag Details | ||
run: | | ||
echo "The next tag version will be: ${{ steps.taggerDryRun.outputs.new_tag }}" | ||
echo "The version increment was: ${{ steps.taggerDryRun.outputs.part }}" | ||
- name: Run Tagging | ||
if: ${{ inputs.run_for_real }} | ||
id: taggerApply | ||
uses: anothrNick/github-tag-action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SC_GH_TAG_TOKEN }} | ||
DEFAULT_BUMP: ${{ inputs.default_bump }} | ||
WITH_V: true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.