Skip to content

Commit

Permalink
.github: replace set-output with non-deprecated alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
nilfm99 committed Feb 9, 2024
1 parent 74b87af commit aa287f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/libvmaf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa287f7

Please sign in to comment.