Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhachicha committed Mar 7, 2024
1 parent 29ba516 commit 64d7444
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1649,6 +1649,9 @@ jobs:
check-release-build:
runs-on: ubuntu-latest
needs: [check-cache]
outputs:
is_publish_build: ${{ steps.check_release.outputs.is_publish_build }}

steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -1677,7 +1680,7 @@ jobs:
- name: Print is release build
run: |
echo "Is release build: ${{ steps.outputs.is_publish_build }}"
echo "Is release build: ${{ steps.check_release.outputs.is_publish_build }}"
deploy-release:
uses: ./.github/workflows/include-deploy-release.yml
Expand All @@ -1696,11 +1699,6 @@ jobs:
]
if: |
always() &&
!cancelled() &&
!endsWith(needs.check-cache.outputs.version-label, '-SNAPSHOT') &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled') &&
(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/releases') &&
needs.check-release-build.outputs.is_publish_build
secrets: inherit
Expand Down

0 comments on commit 64d7444

Please sign in to comment.