Refactor variable assignment in action.yml

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2024-03-06 11:06:23 +03:00
parent 042365ed11
commit 4d412de570
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -81,7 +81,7 @@ runs:
shell: bash
run: |
# Define an array of strings
my_array=${{ steps.meta.outputs.tags }}
my_array=$tags
# Specify the index you want to extract
index_to_extract=0
@ -93,3 +93,5 @@ runs:
echo "tag=$extracted_element" >> $GITHUB_OUTPUT
env:
tags: ${{ steps.meta.outputs.tags }}