Skip to content

update to 1.21

update to 1.21 #54

Workflow file for this run

name: Build
on:
push:
tags:
- '*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 21
- name: Build
env:
SIGNJAR_KEYSTORE: ${{ secrets.SIGNJAR_KEYSTORE }}
SIGNJAR_ALIAS: ${{ secrets.SIGNJAR_ALIAS }}
SIGNJAR_STOREPASS: ${{ secrets.SIGNJAR_STOREPASS }}
SIGNJAR_KEYPASS: ${{ secrets.SIGNJAR_KEYPASS }}
run: |
chmod +x gradlew
./gradlew --no-daemon build
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
build/libs/*.jar