Skip to content

Commit

Permalink
add print tag
Browse files Browse the repository at this point in the history
  • Loading branch information
semih.cavdar committed Mar 19, 2024
1 parent d543f3b commit 904f219
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
id: path
run: echo "Current file path $GITHUB_WORKSPACE"


- name: Read Tags from publish.yml
id: read-tags
run: echo "::set-output name=tags::$(awk '/tags/{print $2}' .github/workflows/publish.yml)"
run: echo "::set-output name=tags::$(awk '/tags/{print $2}' .github/workflows/publish.yml)"

- name: Use Output
id: output
run: echo "Output is ${{ steps.set_output_step.outputs.tags }}"

0 comments on commit 904f219

Please sign in to comment.