We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b8b63 commit df0da56Copy full SHA for df0da56
.github/workflows/publish_release.yml
@@ -29,7 +29,7 @@ on:
29
type: boolean
30
31
jobs:
32
-# checks if there's a commit in last 24hr
+ # checks if there's a commit in last 24hr
33
check_date:
34
runs-on: ubuntu-latest
35
outputs:
@@ -44,9 +44,9 @@ jobs:
44
name: check latest commit is less than a day
45
run: |
46
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 }})
+ && (gh run cancel ${{ github.run_id }} \
+ && gh run watch ${{ github.run_id }}) \
+ || echo "::set-output name=should_run::false"
50
env:
51
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
publish_release:
0 commit comments