chore(deps): update actions/setup-java action to v4 #322
Workflow file for this run
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: KickRedirect Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Build with Gradle v2.4.1 | |
uses: nick-invision/retry@v2.9.0 | |
with: | |
timeout_minutes: 4 | |
max_attempts: 2 | |
command: gradle build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: KickRedirect | |
path: build/libs/KickRedirect-*.jar |