More logging.

This commit is contained in:
2025-07-01 14:00:26 -07:00
parent 47f48d4e8c
commit cb3981194b
2 changed files with 14 additions and 0 deletions

View File

@@ -25,6 +25,11 @@ runs:
- name: "Build the next version with the given repository information." - name: "Build the next version with the given repository information."
id: branch id: branch
run: | run: |
NAME="Version Increment Branch"
echo "::group::$NAME - Inputs"
echo "${{ toJSON(inputs) }}"
echo "::endgroup::"
EVENT_NAME="${{ github.event_name }}" EVENT_NAME="${{ github.event_name }}"
HEAD="${{ github.head_ref || github.ref_name }}" HEAD="${{ github.head_ref || github.ref_name }}"
BASE="${{ github.base_ref || github.ref_name }}" BASE="${{ github.base_ref || github.ref_name }}"

View File

@@ -55,5 +55,14 @@ runs:
- name: "Get next version." - name: "Get next version."
id: parse id: parse
run: | run: |
NAME="Version Increment"
echo "::group::$NAME - Inputs"
echo "${{ toJSON(inputs) }}"
echo "::endgroup::"
bash ${{ github.action_path }}/increment_version.sh "${{ inputs.major }}" "${{ inputs.minor }}" "${{ inputs.patch }}" "${{ inputs.revision }}" "${{ inputs.suffix }}" "${{ inputs.metadata }}" "${{ inputs.incrementMode }}" "${{ inputs.gitShaMetadata }}" bash ${{ github.action_path }}/increment_version.sh "${{ inputs.major }}" "${{ inputs.minor }}" "${{ inputs.patch }}" "${{ inputs.revision }}" "${{ inputs.suffix }}" "${{ inputs.metadata }}" "${{ inputs.incrementMode }}" "${{ inputs.gitShaMetadata }}"
echo "::group::$NAME - Outputs"
cat "$GITHUB_OUTPUT"
echo "::endgroup::"
shell: bash shell: bash