Skip to content

novo commit 3

novo commit 3 #1

Workflow file for this run

name: 'Build'
permissions:
contents: 'read'
on:
pull_request:
push:
branches: [ 'master' ]
jobs:
build:
name: 'build, test and publish'
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout repository'
uses: 'actions/checkout@v2'
- name: 'Setup JDK 17'
uses: 'actions/setup-java@v3'
with:
java-version: '17'
distribution: 'corretto'
- name: 'Validate gradle wrapper'
uses: 'gradle/wrapper-validation-action@v1'
- name: 'Setup gradle permissions'
run: 'chmod +x gradlew'
- name: 'Test project'
run: './gradlew test'
- name: 'Build project'
run: './gradlew build'
- name: 'Publish project'
run: './gradlew publishToMavenLocal'