diff --git a/.github/actions/get-modified-packages-docker/action.yaml b/.github/actions/get-modified-packages-docker/action.yaml index b120f1fed58ad..0975f5d1308e6 100644 --- a/.github/actions/get-modified-packages-docker/action.yaml +++ b/.github/actions/get-modified-packages-docker/action.yaml @@ -28,12 +28,17 @@ runs: git fetch origin ${{ inputs.base-ref }} shell: bash + # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings - name: Get modified files id: get-modified-files run: | modified_files=$(git diff --name-only "origin/${{ inputs.base-ref }}"...HEAD) echo "modified-files=$modified_files" - echo "modified-files=$modified_files" >> $GITHUB_OUTPUT + { + echo 'modified-files<> $GITHUB_OUTPUT shell: bash - name: printenv