Skip to content

useless build-step removed. #297

useless build-step removed.

useless build-step removed. #297

Workflow file for this run

name: Gradle
on:
push:
branches: [ master ]
paths-ignore:
- '**/README.md'
- '**/.gitignore'
- '.run/**'
pull_request:
branches: [ master ]
paths-ignore:
- '**/README.md'
- '**/.gitignore'
- '.run/**'
jobs:
build:
name: 🎉 Build
runs-on: ubuntu-latest
steps:
# Testing the plugin source requires checking out into `buildSrc`.
- name: 🚚 Get latest code
uses: actions/checkout@v4
# https://github.com/actions/setup-java
- name: ☕ Set up AWS Corretto JDK 17
uses: actions/setup-java@v4
with:
distribution: corretto
architecture: x64
java-version: '17'
- name: Build with Gradle
run: |
mkdir build
chmod +x ./gradlew
./gradlew :build
cd ./build/libs
ls -la | grep jar
- name: 📦 Retain Artifact (JAR)
id: retain-plugin-jar
uses: actions/upload-artifact@v4
with:
name: buildSrc
path: ./build/libs/*.jar
retention-days: 14