Skip to content

Merge branch '6.0.x' into 7.0.x #69

Merge branch '6.0.x' into 7.0.x

Merge branch '6.0.x' into 7.0.x #69

Workflow file for this run

name: Java CI
on:
push:
branches:
- '[1-9]+.[0-9]+.x'
- master
pull_request:
branches:
- '[1-9]+.[0-9]+.x'
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['17']
env:
WORKSPACE: ${{ github.workspace }}
GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Run Assemble
if: success() && github.event_name == 'push' && matrix.java == '17'
run: ./gradlew assemble
- name: Publish to repo.grails.org
if: success() && github.event_name == 'push' && matrix.java == '17'
env:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
run: |
./gradlew publish