Skip to content

Commit

Permalink
add missing fields for gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
rpmcginty committed Mar 1, 2024
1 parent 37b6e64 commit a855d48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/actions/get-version-tag/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ inputs:
type: boolean
required: false
default: false
secrets:
GITHUB_TOKEN:
description: 'Token for AllenInstitute GitHub'
required: true
GIT_SSH_PRIVATE_KEY:
description: 'SSH private key for AllenInstitute GitHub'
required: true
outputs:
major:
description: 'The major version number'
Expand Down Expand Up @@ -58,6 +54,7 @@ runs:
DRY_RUN: true
- name: Set Outputs
id: set-outputs
shell: bash
run: |
new_tag=${{ steps.bump-version-tag.outputs.new_tag }}
new_version=$(echo $new_tag | sed 's/^v//')
Expand Down Expand Up @@ -99,6 +96,7 @@ runs:
bump_each_commit_patch_pattern: "/\((PATCH|patch|BUG|bug|BUGFIX|bugfix|BUMP|bump)\)/"
- name: Set Outputs Alt
id: set-outputs-alt
shell: bash
run: |
echo 'changed: ${{ steps.bump-version-tag-alt.outputs.changed }}'
echo 'major: ${{ steps.bump-version-tag-alt.outputs.major }}'
Expand All @@ -117,4 +115,4 @@ runs:
# echo "::set-output name=version::${{ steps.bump-version-tag-alt.outputs.version }}"
# echo "::set-output name=version_tag::${{ steps.bump-version-tag-alt.outputs.version_tag }}"
# echo "::set-output name=version_type::${{ steps.bump-version-tag-alt.outputs.version_type }}"
# echo "::set-output name=previous_version::${{ steps.bump-version-tag-alt.outputs.previous_version }}"
# echo "::set-output name=previous_version::${{ steps.bump-version-tag-alt.outputs.previous_version }}"
1 change: 1 addition & 0 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
id: version-tag
with:
bump_type: ${{ github.event.inputs.bump_type }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
update-version-and-tag:
name: Update Repo Tag and Version
runs-on: ubuntu-latest
Expand Down

0 comments on commit a855d48

Please sign in to comment.