Skip to content

Update build.gradle #12

Update build.gradle

Update build.gradle #12

Workflow file for this run

name: Gradle Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '8.0.312'
distribution: 'temurin'
- name: Build with Gradle
run: |
chmod +x ./gradlew
./gradlew build -iS
- uses: actions/upload-artifact@v4
with:
name: Package
path: build/libs
- uses: "marvinpinto/action-automatic-releases@latest"
name: Create Specific Release
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: latest
prerelease: false
title: Latest
files: |
build/libs/*.jar