From 78f58d1b07f7ea983ae64eb7c736a75666556e7a Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Fri, 28 Jun 2024 18:13:29 +0700 Subject: [PATCH] Build: Update deprecated set-output syntax --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7f5973..5ed78d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,8 +65,8 @@ jobs: id: vars shell: bash run: | - echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" - echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" + echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV + echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - name: Enable SimpleWindowSwitcher support for newer Windows SDKs shell: cmd @@ -146,7 +146,7 @@ jobs: working-directory: build/Release if: github.ref == 'refs/heads/master' && github.event.inputs.ref == '' run: | - echo "::set-output name=data::$(./ep_generate_release_name.exe)" + echo "data=$(./ep_generate_release_name.exe)" >> $GITHUB_ENV id: release_name - name: Generate release notes @@ -158,7 +158,7 @@ jobs: MY_STRING="${MY_STRING//'%'/'%25'}" MY_STRING="${MY_STRING//$'\n'/'%0A'}" MY_STRING="${MY_STRING//$'\r'/'%0D'}" - echo "::set-output name=data::$MY_STRING" + echo "data=$MY_STRING" >> $GITHUB_ENV id: release_description - name: Create/update release (valinet)