fix: chained ternary operator in workflow

This commit is contained in:
Noah Masur 2024-03-30 14:32:30 -04:00
parent c66cedf146
commit fa582fcc34

View File

@ -1,6 +1,6 @@
name: Arrow name: Arrow
run-name: Arrow - ${{ inputs.rebuild && 'Rebuild and ' || '' }}${{ inputs.action == 'create' && 'Create' || ( ${{ inputs.action == 'destroy' && 'Destroy' || 'No Action' ) }} run-name: Arrow - ${{ inputs.rebuild && 'Rebuild and ' || '' }}${{ inputs.action == 'create' && 'Create' || ( inputs.action == 'destroy' && 'Destroy' || 'No Action' ) }}
env: env:
TERRAFORM_DIRECTORY: hosts/arrow TERRAFORM_DIRECTORY: hosts/arrow