fix(ci): remove deprecated set-output on github workflows (#26921)

This commit is contained in:
Daniel Vaz Gaspar
2024-01-31 18:40:07 +00:00
committed by GitHub
parent 31eed009cd
commit 4b85af2586
6 changed files with 9 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ jobs:
- name: Describe ECS service
id: describe-services
run: |
echo "::set-output name=active::$(aws ecs describe-services --cluster superset-ci --services pr-${{ github.event.number }}-service | jq '.services[] | select(.status == "ACTIVE") | any')"
echo "active=$(aws ecs describe-services --cluster superset-ci --services pr-${{ github.event.number }}-service | jq '.services[] | select(.status == "ACTIVE") | any')" >> $GITHUB_OUTPUT
- name: Delete ECS service
if: steps.describe-services.outputs.active == 'true'