diff --git a/.github/workflows/develocity-publish-build-scans.yml b/.github/workflows/develocity-publish-build-scans.yml index e56ea04a0d47a..b269a77a6c560 100644 --- a/.github/workflows/develocity-publish-build-scans.yml +++ b/.github/workflows/develocity-publish-build-scans.yml @@ -20,8 +20,9 @@ jobs: - name: Extract preapproved developers list id: extract-preapproved-developers run: | - preapproveddevelopers=$(cat .github/develocity-preapproved-developers.json) - echo "preapproved-developpers=${preapproveddevelopers}" >> $GITHUB_OUTPUT + echo "preapproved-developpers<> $GITHUB_OUTPUT + cat .github/develocity-preapproved-developers.json >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT - name: Publish Maven Build Scans uses: gradle/github-actions/maven-build-scan/publish@v1-beta if: ${{ contains(fromJson(steps.extract-preapproved-developers.outputs.preapproved-developpers).preapproved-developers, github.event.workflow_run.actor.login) }}