Skip to content

Commit df0da56

Browse files
committed
publish_release pipeline fix
1 parent 61b8b63 commit df0da56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish_release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
type: boolean
3030

3131
jobs:
32-
# checks if there's a commit in last 24hr
32+
# checks if there's a commit in last 24hr
3333
check_date:
3434
runs-on: ubuntu-latest
3535
outputs:
@@ -44,9 +44,9 @@ jobs:
4444
name: check latest commit is less than a day
4545
run: |
4646
test -z $(git rev-list --after="24 hours" ${{ github.sha }}) \
47-
&& echo "::set-output name=should_run::false" \
48-
|| (gh run cancel ${{ github.run_id }} \
49-
&& gh run watch ${{ github.run_id }})
47+
&& (gh run cancel ${{ github.run_id }} \
48+
&& gh run watch ${{ github.run_id }}) \
49+
|| echo "::set-output name=should_run::false"
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
publish_release:

0 commit comments

Comments
 (0)