Skip to content

Commit 4518f18

Browse files
Fixed the publish_release to run nightly if there are changes as intended
1 parent df0da56 commit 4518f18

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish_release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,11 @@ jobs:
4545
run: |
4646
test -z $(git rev-list --after="24 hours" ${{ github.sha }}) \
4747
&& (gh run cancel ${{ github.run_id }} \
48-
&& gh run watch ${{ github.run_id }}) \
49-
|| echo "::set-output name=should_run::false"
48+
&& gh run watch ${{ github.run_id }})"
5049
env:
5150
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5251
publish_release:
5352
needs: check_date
54-
if: ${{ github.event_name == 'workflow_dispatch' || needs.check_date.outputs.should_run != 'false' }}
5553
runs-on: ubuntu-latest
5654
container: maven:3-eclipse-temurin-8
5755
steps:

0 commit comments

Comments
 (0)