From 1671f4fb454b5563d651db98dfb30fa13b68514d Mon Sep 17 00:00:00 2001 From: nilfm Date: Tue, 19 Dec 2023 14:07:56 +0000 Subject: [PATCH] .github: replace set-output with non-deprecated alternative --- .github/workflows/libvmaf.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/libvmaf.yml b/.github/workflows/libvmaf.yml index 02becf032..db58a99b3 100644 --- a/.github/workflows/libvmaf.yml +++ b/.github/workflows/libvmaf.yml @@ -85,8 +85,8 @@ jobs: id: get_info run: | ldd "./install/bin/vmaf" || true - echo "::set-output name=path::./install/bin/vmaf" - echo "::set-output name=upload_url::$(curl -L https://api.github.com/repos/${{ github.repository }}/releases/tags/$(cut -d/ -f3 <<< ${{ github.ref }}) | jq -r ."upload_url")" + echo "{path}={./install/bin/vmaf}" >> $GITHUB_OUTPUT + echo "{upload_url}={$(curl -L https://api.github.com/repos/${{ github.repository }}/releases/tags/$(cut -d/ -f3 <<< ${{ github.ref }}) | jq -r ."upload_url")}" >> $GITHUB_OUTPUT - name: Upload vmaf uses: actions/upload-artifact@v4 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ee0bb54ce..577c18c41 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -61,8 +61,8 @@ jobs: id: get_info run: | ldd "$MINGW_PREFIX/bin/vmaf.exe" || true - echo "::set-output name=path::$(cygpath -m "$(command -v vmaf)")" - echo "::set-output name=upload_url::$(curl -L https://api.github.com/repos/${{ github.repository }}/releases/tags/$(cut -d/ -f3 <<< ${{ github.ref }}) | jq -r ."upload_url")" + echo "{path}={$(cygpath -m "$(command -v vmaf)")}" >> $GITHUB_OUTPUT + echo "{upload_url}={$(curl -L https://api.github.com/repos/${{ github.repository }}/releases/tags/$(cut -d/ -f3 <<< ${{ github.ref }}) | jq -r ."upload_url")}" >> $GITHUB_OUTPUT - name: Upload vmaf uses: actions/upload-artifact@v4