fix deprecated set-output
command in workflow
This commit is contained in:
2
.github/workflows/trigger-nightly.yml
vendored
2
.github/workflows/trigger-nightly.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
name: check latest commit is less than a day
|
||||
if: ${{ github.event_name == 'schedule' }}
|
||||
run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false"
|
||||
run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "should_run=false" >> $GITHUB_OUTPUT
|
||||
|
||||
trigger-nightly:
|
||||
needs: check_date
|
||||
|
Reference in New Issue
Block a user