Skip to content

Suppress random irrelevant warnings #953

Suppress random irrelevant warnings

Suppress random irrelevant warnings #953

Workflow file for this run

name: Build
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected] #https://github.com/actions/checkout/releases
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
uses: actions/[email protected] #https://github.com/actions/setup-java/releases
with:
distribution: 'temurin'
java-version: 17
- name: Cache SonarCloud packages
uses: actions/[email protected] #https://github.com/actions/cache/releases
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle
uses: actions/[email protected] #https://github.com/actions/cache/releases
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}"
restore-keys: |
${{ runner.os }}-gradle-
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
run: ./gradlew clean build
- name: Upload a Build Artifact
uses: actions/[email protected] #https://github.com/actions/upload-artifact/releases
with:
name: Click here to download
path: jar/build/libs/TAB-**.jar