Create separate class for PremiumVanish hook & add check for outdated… #950
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |