From 4518f18b43b31debce6f7af8020c46bc80d85f49 Mon Sep 17 00:00:00 2001 From: stas-panasiuk <112094458+stas-panasiuk@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:58:03 -0400 Subject: [PATCH] Fixed the publish_release to run nightly if there are changes as intended --- .github/workflows/publish_release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index d022d42e..135134e2 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -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: