diff --git a/.github/workflows/check_version.yml b/.github/workflows/check_version.yml index eccc5d2..b3d9fc6 100644 --- a/.github/workflows/check_version.yml +++ b/.github/workflows/check_version.yml @@ -65,6 +65,8 @@ jobs: fi - name: Trigger Next Action - run: echo "Trigger Next Action ${{ steps.check_version.outputs.trigger_next_action }}" + run: | + echo "Trigger Next Action ${{ steps.check_version.outputs.trigger_next_action }}" + echo "set-env:TRIGGER_NEXT_ACTION=${{ steps.check_version.outputs.trigger_next_action}}" >> $GITHUB_ENV env: TRIGGER_NEXT_ACTION: ${{ steps.check_version.outputs.trigger_next_action }} \ No newline at end of file diff --git a/.github/workflows/create_tag.yml b/.github/workflows/create_tag.yml index da2d39d..c188ece 100644 --- a/.github/workflows/create_tag.yml +++ b/.github/workflows/create_tag.yml @@ -23,6 +23,15 @@ jobs: # uses: ./.github/workflows/trigger_on_pr_merge.yml # secrets: # TRIGGER_CREATE_TAG_AND_PUBLISH: ${{ secrets.TRIGGER_CREATE_TAG_AND_PUBLISH }} + debug: + runs-on: ubuntu-latest + steps: + - name: Debug + run: | + echo "TRIGGER_NEXT_ACTION: $TRIGGER_NEXT_ACTION" + echo "if condition: ${{ needs.call-check-version.outputs.TRIGGER_NEXT_ACTION == 'true' }}" + env: + TRIGGER_NEXT_ACTION: ${{ needs.call-check-version.outputs.TRIGGER_NEXT_ACTION }} create-tag-and-publish: permissions: diff --git a/.github/workflows/trigger_on_pr_merge.yml b/.github/workflows/trigger_on_pr_merge.yml index df11c9a..13e039e 100644 --- a/.github/workflows/trigger_on_pr_merge.yml +++ b/.github/workflows/trigger_on_pr_merge.yml @@ -23,6 +23,7 @@ jobs: - name: Check if PR is merged into main id: check_merged run: | + sleep 120 if [ "${{ github.event.pull_request.merged }}" = "true" ] && [ "${{ github.event.pull_request.base.ref }}" = "main" ]; then echo "true" else