Skip to content

Commit

Permalink
change id
Browse files Browse the repository at this point in the history
  • Loading branch information
semih.cavdar committed Mar 19, 2024
1 parent 4ea95cc commit 318f7cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ jobs:
- name: Print current path
id: path
run: echo "Current file path $GITHUB_WORKSPACE"


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

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

0 comments on commit 318f7cc

Please sign in to comment.