Skip to content

Commit

Permalink
Another array echo attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-vakil committed Jul 24, 2024
1 parent acc6447 commit 2953836
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/workflow_build_and_release_containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ jobs:
- name: determine if we should create release and deploy
id: should-create-release
run: |
declare -a label_arr = ${{ github.pull_request.labels.*.name }}
for label in "${label_arr[@]}"; do
for label in "${{github.pull_request.labels.*.name}}"; do
echo "label: $label"
done
if [[ ${{ github.ref_name == 'main' || github.pull_request.labels.*.name == 'deploy-to-sandbox' }} ]]; then
Expand Down

0 comments on commit 2953836

Please sign in to comment.