Skip to content

Bump io.github.gradle-nexus.publish-plugin from 1.3.0 to 2.0.0 (#27) #73

Bump io.github.gradle-nexus.publish-plugin from 1.3.0 to 2.0.0 (#27)

Bump io.github.gradle-nexus.publish-plugin from 1.3.0 to 2.0.0 (#27) #73

Workflow file for this run

# Copyright (C) 2021 The Authors of Nessie
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: CI
on:
push:
branches: [ main ]
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'projectnessie/nessie-antlr-runtime' }}
jobs:
java:
name: Java/Gradle
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
java-version: [8, 11, 17]
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ matrix.java-version }}-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: gradle-${{ matrix.java-version }}-
- name: Build with Gradle
run: |
./gradlew --rerun-tasks --no-daemon --info assemble check publishToMavenLocal