More logging.
This commit is contained in:
@@ -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 }}"
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user