diff --git a/.github/workflows/builder.yaml b/.github/workflows/builder.yaml index a56cf4c..a4fce9a 100644 --- a/.github/workflows/builder.yaml +++ b/.github/workflows/builder.yaml @@ -41,7 +41,7 @@ jobs: if [[ -n ${changed} ]]; then echo "A monitored file changed."; - echo "::set-output name=changed::true"; + echo "changed=true" >> $GITHUB_OUTPUT else echo "No monitored files changed."; fi @@ -68,14 +68,14 @@ jobs: id: check run: | if [[ "${{ steps.info.outputs.architectures }}" =~ ${{ matrix.arch }} ]]; then - echo "::set-output name=build_arch::true"; - echo "::set-output name=image::$(echo ${{ steps.info.outputs.image }} | cut -d'/' -f3)"; + echo "build_arch=true" >> $GITHUB_OUTPUT + echo "image=$(echo ${{ steps.info.outputs.image }} | cut -d'/' -f3)" >> $GITHUB_OUTPUT if [[ -z "${{ github.head_ref }}" ]] && [[ "${{ github.event_name }}" == "push" ]]; then echo "BUILD_ARGS=" >> $GITHUB_ENV; fi else echo "${{ matrix.arch }} is not a valid arch for this add-on, skipping build"; - echo "::set-output name=build_arch::false"; + echo "build_arch=false" >> $GITHUB_OUTPUT fi - name: Login to GitHub Container Registry