Skip to content

Commit

Permalink
Fixed the publish_release to run nightly if there are changes as inte…
Browse files Browse the repository at this point in the history
…nded
  • Loading branch information
stas-panasiuk authored Oct 18, 2024
1 parent df0da56 commit 4518f18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ jobs:
run: |
test -z $(git rev-list --after="24 hours" ${{ github.sha }}) \
&& (gh run cancel ${{ github.run_id }} \
&& gh run watch ${{ github.run_id }}) \
|| echo "::set-output name=should_run::false"
&& gh run watch ${{ github.run_id }})"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish_release:
needs: check_date
if: ${{ github.event_name == 'workflow_dispatch' || needs.check_date.outputs.should_run != 'false' }}
runs-on: ubuntu-latest
container: maven:3-eclipse-temurin-8
steps:
Expand Down

0 comments on commit 4518f18

Please sign in to comment.