Skip to content

Commit

Permalink
Update outputs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
h0x0er authored Aug 2, 2024
1 parent 3705fac commit 400542c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ jobs:
capture_outputs:
runs-on: ubuntu-latest
steps:
- run: |


- name: Generate Labels
id: labels
run: |
if [[ $APPROVAL_HOOK_ENV == "int" ]]; then
echo "label1=first_label-int"
echo "label1=first_label-int" >> $GITHUB_OUTPUT
else
echo "label1=first_label-prod"
echo "label1=first_label-prod" $GITHUB_OUTPUT
fi
- run: echo "${{ steps.labels.outputs.label1 }}"

0 comments on commit 400542c

Please sign in to comment.