- Fix deprecated set-output

This commit is contained in:
Particle_G
2022-10-25 03:34:57 +00:00
parent 42168ddf16
commit 388e8e1fe1
2 changed files with 31 additions and 31 deletions

View File

@@ -19,10 +19,10 @@ runs:
using: "composite"
steps:
- run: |
echo "::set-output name=tag::"$(if [ -z "${{ inputs.tag }}" ]
echo "tag="$(if [ -z "${{ inputs.tag }}" ]
then curl -w '%{url_effective}' -I -L -s -S https://github.com/${{ inputs.repo }}/releases/latest -o /dev/null | grep -o '\<[^/]*$'
else echo ${{ inputs.tag }}
fi)
fi) >> $GITHUB_OUTPUT
id: get-tag
shell: bash
- uses: ./.github/actions/get-unzip