6363 - name : Publish to repo.grails.org
6464 id : publish
6565 uses : gradle/gradle-build-action@v2
66- if : steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '8 '
66+ if : steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '11 '
6767 env :
6868 GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
6969 GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
7474 arguments : -Dorg.gradle.internal.publish.checksums.insecure=true publish
7575 - name : Build Docs
7676 id : docs
77- if : steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '8 '
77+ if : steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '11 '
7878 uses : gradle/gradle-build-action@v2
7979 env :
8080 GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
@@ -83,17 +83,18 @@ jobs:
8383 with :
8484 arguments : docs:docs
8585 - name : Determine docs target repository
86- if : steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '8 '
86+ if : steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '11 '
8787 uses : haya14busa/action-cond@v1
8888 id : docs_target
8989 with :
9090 cond : ${{ github.repository == 'grails/gorm-hibernate5' }}
9191 if_true : " grails/grails-data-mapping"
9292 if_false : ${{ github.repository }}
9393 - name : Publish to Github Pages
94- if : steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '8 '
94+ if : steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '11 '
9595 uses : micronaut-projects/github-pages-deploy-action@master
9696 env :
97+ SKIP_SNAPSHOT : ${{ contains(steps.release_version.outputs.release_version, 'M') }}
9798 TARGET_REPOSITORY : ${{ steps.docs_target.outputs.value }}
9899 GH_TOKEN : ${{ secrets.GH_TOKEN }}
99100 BRANCH : gh-pages
0 commit comments