Stop using deprecated set-output GH Actions command

This commit is contained in:
Jakub Kuczys 2022-10-14 04:45:46 +02:00 committed by GitHub
parent d0625154ed
commit 3bca40352e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,13 +15,14 @@ jobs:
- id: check
if: env.CROWDIN_API_KEY != null
run: |
echo "::set-output name=available::true"
echo "available=true" >> $GITHUB_OUTPUT
env:
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
download:
runs-on: ubuntu-latest
needs: [ check-environment ]
# secrets cannot be accessed inside an `if` so this needs to be checked in separate job
if: needs.check-environment.outputs.available == 'true'
environment: Crowdin
name: download