Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Bump org.codenarc:CodeNarc from 3.3.0 to 3.3.0-groovy-4.0 #62

Bump org.codenarc:CodeNarc from 3.3.0 to 3.3.0-groovy-4.0

Bump org.codenarc:CodeNarc from 3.3.0 to 3.3.0-groovy-4.0 #62

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [master]
tags: ["v*.*.*"]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Gradle cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload coverage reports
uses: codecov/codecov-action@v1
with:
files: build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml
fail_ci_if_error: true
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/distributions/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}