Skip to content

Commit

Permalink
Merge pull request #93 from IABTechLab/llp-UID2-3114-pass-commit-tag-…
Browse files Browse the repository at this point in the history
…to-setup

Print outputs for commit and PR action.
  • Loading branch information
lionell-pack-ttd authored Apr 5, 2024
2 parents 7b2ca77 + 22c2b92 commit 06c1345
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion actions/commit_pr_and_merge/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,11 @@ runs:
})).data;
console.log(`Returning commit SHA ${pr.merge_commit_sha}`);
core.setOutput('commit_sha', pr.merge_commit_sha);
- name: Print outputs
uses: actions/github-script@v7
if: ${{ inputs.tag }}
with:
script: |
console.log('Result', '${{ steps.tag-commit.result }}');
console.log('Commit and tag', '${{ steps.tag-commit.outputs.commit_tag }}');

0 comments on commit 06c1345

Please sign in to comment.