Skip to content

Update README.md

Update README.md #95

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ "master","development" ]
pull_request:
branches: [ "master","development" ]
permissions:
contents: read
jobs:
build:
if: contains(github.event.head_commit.message, '[actions skip]') == false
runs-on: ubuntu-latest
steps:
- name: Checkout codes
uses: actions/checkout@v3
- name: cache gradle packages
uses: actions/cache@v3
with:
key: ${{ runner.os }}-build-${{ hashFiles('**/build.gradle') }}
path: |
~/.gradle/caches
~/.gradle/wrapper
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build VelocityReport with Gradle
run: |
chmod +x ./gradlew
./gradlew build
- name: Capture Build Artifacts
uses: actions/upload-artifact@v3
with:
name: VelocityReport Artifacts
path: |
bin/