This commit is contained in:
usbharu 2024-08-10 16:27:16 +09:00
parent 852ba5e415
commit 67b37bce10
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 8 additions and 0 deletions

View File

@ -67,10 +67,18 @@ jobs:
cache-read-only: false cache-read-only: false
gradle-home-cache-cleanup: true 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 - name: Publish OWL Local
if: ${{ github.base_ref == 'release-test-master' && contains( needs.release-diff-check.outputs.diff, 'owl') }} if: ${{ github.base_ref == 'release-test-master' && contains( needs.release-diff-check.outputs.diff, 'owl') }}
run: ./owl/gradlew :owl:publishMavenPublicationToMavenLocal run: ./owl/gradlew :owl:publishMavenPublicationToMavenLocal
- name: Publish OWL Gitea - name: Publish OWL Gitea
if: ${{ github.base_ref == 'master' && contains( needs.release-diff-check.outputs.diff , 'owl')}} if: ${{ github.base_ref == 'master' && contains( needs.release-diff-check.outputs.diff , 'owl')}}
run: ./owl/gradlew :owl:publishMavenPublicationToGiteaRepository run: ./owl/gradlew :owl:publishMavenPublicationToGiteaRepository