From 58eab227fab00945cf0777ed24a7c47c5f2af7c7 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Sat, 30 Mar 2024 11:06:13 +0000 Subject: [PATCH] Use updated method of setting output --- .github/workflows/builder.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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