Skip to content

Commit

Permalink
Print outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
lionell-pack-ttd committed Apr 5, 2024
1 parent 314e131 commit 950fa63
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/shared-increase-version-number.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,11 @@ jobs:
add: '${{ inputs.working_dir }}/package.json ${{ inputs.working_dir }}/package-lock.json ${{ inputs.working_dir }}/version.json'
message: 'Released ${{ inputs.release_type }} version: ${{ steps.version.outputs.new_version }}'
tag: v${{ steps.version.outputs.new_version }}

- name: Print outputs
uses: actions/github-script@v7
with:
script: |
console.log('Result', '${{ steps.commit-and-tag.result }}');
console.log('Commit and tag', '${{ steps.commit-and-tag.outputs.git_tag_or_hash }}');
console.log('No tag', '${{ steps.commit-without-tag.outputs.git_tag_or_hash }}');

0 comments on commit 950fa63

Please sign in to comment.