Skip to content

chore: cloud support impl build config #24

chore: cloud support impl build config

chore: cloud support impl build config #24

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ master, development ]
pull_request:
branches: [ master, development ]
# Cancel any in-progress runs for the same branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
# Fallback Fix: Explicitly ensures executable permissions if Git drops them
- name: Make Gradlew Executable
run: chmod +x gradlew
- name: Build with Gradle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew build
- name: Capture build artifacts
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: |
plugin/build/libs/Challenges.jar
mongo-connector/build/libs/Challenges-MongoConnector.jar