diff --git a/.github/workflows/dev-agent.yml b/.github/workflows/dev-agent.yml index d47c562c0..c07bdc9c1 100644 --- a/.github/workflows/dev-agent.yml +++ b/.github/workflows/dev-agent.yml @@ -74,7 +74,8 @@ jobs: FAMILY=$(sed -n 's/.*"family": "\(.*\)",/\1/p' taskdef/agent-service.json) NAME=$(sed -n 's/.*"name": "\(.*\)",/\1/p' taskdef/agent-service.json) SERVICE_NAME="${NAME}-service" - + echo "SERVICE_NAME: $SERVICE_NAME" + # Replace placeholders in the JSON file sed -e "s;%BUILD_NUMBER%;${{ github.run_number }};g" -e "s;%REPOSITORY_URI%;${REPOSITORY_URI};g" taskdef/agent-service.json > ${GITHUB_WORKSPACE}/${NAME}-v_${{ github.run_number }}.json