mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Stop using deprecated set-output GH Actions command
This commit is contained in:
parent
d0625154ed
commit
3bca40352e
3
.github/workflows/crowdin_download.yml
vendored
3
.github/workflows/crowdin_download.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user