Add "dependabot.yml" #5
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 Gradle | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/checkout | |
- name: Check out Git repository | |
uses: actions/[email protected] | |
# https://github.com/gradle/wrapper-validation-action | |
- name: Wrapper Validation | |
uses: gradle/[email protected] | |
# https://github.com/actions/setup-java | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Make Gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build Project | |
run: ./gradlew build | |
# https://github.com/actions/upload-artifact | |
- name: Upload build artifact | |
uses: actions/[email protected] | |
with: | |
name: TooExpensiveFix | |
path: build/libs/TooExpensiveFix-*.jar |