diff --git a/.github/workflows/master-publish-package.yaml b/.github/workflows/master-publish-package.yaml index 7dc1288e..91f67f00 100644 --- a/.github/workflows/master-publish-package.yaml +++ b/.github/workflows/master-publish-package.yaml @@ -67,10 +67,18 @@ jobs: cache-read-only: false gradle-home-cache-cleanup: true + - name: Show GitHub Base Ref + run: | + echo ${{ github.base_ref }} + echo ${{ github.base_ref == 'master' }} + echo ${{ github.base_ref == 'master' && contains( needs.release-diff-check.outputs.diff , 'owl')}} + echo ${{ github.base_ref == 'release-test-master' && contains( needs.release-diff-check.outputs.diff, 'owl') }} + - name: Publish OWL Local if: ${{ github.base_ref == 'release-test-master' && contains( needs.release-diff-check.outputs.diff, 'owl') }} run: ./owl/gradlew :owl:publishMavenPublicationToMavenLocal - name: Publish OWL Gitea + if: ${{ github.base_ref == 'master' && contains( needs.release-diff-check.outputs.diff , 'owl')}} run: ./owl/gradlew :owl:publishMavenPublicationToGiteaRepository \ No newline at end of file