fix deprecated set-output command in workflow

This commit is contained in:
kLiHz
2024-03-31 03:42:23 +08:00
committed by ginuerzh
parent 50844821f8
commit 4508747635
2 changed files with 4 additions and 4 deletions

View File

@ -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