File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3333 check_date :
3434 runs-on : ubuntu-latest
3535 outputs :
36- should_run : ${{ env.SHOULD_RUN }}
36+ should_run : ${{ steps.should_run.outputs.should_run }}
3737 steps :
3838 - uses : actions/checkout@v2
3939 - name : print latest_commit
@@ -42,10 +42,10 @@ jobs:
4242 - id : should_run
4343 continue-on-error : true
4444 name : check latest commit is less than a day
45- run : test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "SHOULD_RUN= false" >> $GITHUB_ENV
45+ run : test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run:: false"
4646 publish_release :
4747 needs : check_date
48- if : ${{ github.event_name == 'workflow_dispatch' || env.SHOULD_RUN != 'false' }}
48+ if : ${{ github.event_name == 'workflow_dispatch' || needs.check_date.outputs.should_run != 'false' }}
4949 runs-on : ubuntu-latest
5050 container : maven:3-eclipse-temurin-8
5151 steps :
You can’t perform that action at this time.
0 commit comments