From 256148f3ef31b77045ad48db812c5c7d87d318f0 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Fri, 12 Jan 2024 17:45:12 -0800 Subject: [PATCH] chore: fix deprecated github set-output --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c25634428..2e848aff7c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,20 +63,20 @@ jobs: if [[ -z "${{ github.event.inputs.commit }}" ]]; then export GITHUB_VERSION=$(curl -fsS https://raw.githubusercontent.com/infinyon/fluvio/${{ github.sha }}/VERSION) echo "VERSION=${GITHUB_VERSION}" | tee -a $GITHUB_ENV - echo "::set-output name=VERSION::${GITHUB_VERSION}" + echo "VERSION=${GITHUB_VERSION}" >> $GITHUB_OUTPUT echo "GIT_SHA=${{ github.sha }}" | tee -a $GITHUB_ENV - echo "::set-output name=GIT_SHA::${{ github.sha }}" + echo "GIT_SHA=${{ github.sha }}" >> $GITHUB_OUTPUT else export GITHUB_VERSION=$(curl -fsS https://raw.githubusercontent.com/infinyon/fluvio/${{ github.event.inputs.commit }}/VERSION) echo "VERSION=${GITHUB_VERSION}" | tee -a $GITHUB_ENV - echo "::set-output name=VERSION::${GITHUB_VERSION}" + echo "VERSION=${GITHUB_VERSION}" >> $GITHUB_OUTPUT echo "GIT_SHA=${{ github.event.inputs.commit }}" | tee -a $GITHUB_ENV - echo "::set-output name=GIT_SHA::${{ github.event.inputs.commit }}" + echo "GIT_SHA=${{ github.sha }}" >> $GITHUB_OUTPUT fi - name: Set Installer URL id: installer_step run: | - echo "::set-output name=INSTALLER_URL::https://raw.githubusercontent.com/infinyon/fluvio/${{ steps.version_step.outputs.GIT_SHA }}/install.sh" + echo "INSTALLER_URL=https://raw.githubusercontent.com/infinyon/fluvio/${{ steps.version_step.outputs.GIT_SHA }}/install.sh" >> $GITHUB_OUTPUT - name: Slack Notification uses: 8398a7/action-slack@v3