v3.0.0-INDEV #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: '🧑🏭' | |
on: | |
push: | |
tags: | |
- '*' | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout changes | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Validate Gradle wrapper | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
check-latest: true | |
cache: 'gradle' | |
- name: Build jar | |
run: ./gradlew --no-daemon --console=plain --info --full-stacktrace check build | |
- name: Publish release | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: '${{ github.ref_name }}' | |
body: 'Release generated at commit: ${{ github.sha }}' | |
files: 'build/dist/*.jar' |