Update action.yml to extract the first tag from meta.json

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2024-03-03 13:51:13 +03:00
parent 81a3b1a470
commit fa80b6522f
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -64,7 +64,7 @@ runs:
- name: echo - name: echo
run: | run: |
echo "${{ steps.meta.outputs.json }}" > meta.json $(echo '${{ steps.meta.outputs.json }}' | jq -r '.tags[0]') > meta.json
cat meta.json cat meta.json
shell: bash shell: bash