Skip to content

fix: java artifact build #4

fix: java artifact build

fix: java artifact build #4

Workflow file for this run

name: Create and publish an artifact image
on:
push:
tags: [ '*.*.*' ]
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '22'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload Release
uses: softprops/action-gh-release@v2
with:
files: build/libs/suzutsuki-*.jar