Skip to content

Bump actions/dependency-review-action from 4.3.4 to 4.3.5 #399

Bump actions/dependency-review-action from 4.3.4 to 4.3.5

Bump actions/dependency-review-action from 4.3.4 to 4.3.5 #399

Workflow file for this run

name: Build Gradle
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
# https://github.com/actions/checkout
- name: Check out Git repository
uses: actions/[email protected]
# https://github.com/gradle/gradle-build-action
- name: Setup Gradle
uses: gradle/actions/[email protected]
# https://github.com/gradle/wrapper-validation-action
- name: Wrapper validation
uses: gradle/actions/[email protected]
# https://github.com/actions/setup-java
- name: Set up JDK 21
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '21'
java-package: jdk
architecture: x64
cache: gradle
- name: Configure Git
run: git config --global user.name "Github Actions" && git config --global user.email "[email protected]"
- name: Make Gradlew executable
run: chmod +x ./gradlew
# https://github.com/nick-fields/retry
- name: Build project
uses: nick-invision/[email protected]
with:
max_attempts: 2
timeout_minutes: 5
command: ./gradlew build shadowJar
# https://github.com/actions/upload-artifact
- name: Upload build artifact
uses: actions/[email protected]
with:
name: DisableDamage
path: build/libs/DisableDamage-*.jar