mirror of https://github.com/usbharu/Hideout.git
This commit is contained in:
parent
852ba5e415
commit
67b37bce10
|
@ -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
|
Loading…
Reference in New Issue