Skip to content

Release

Release #4

Workflow file for this run

name: Release
on: [workflow_dispatch]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
environment: release
container:
image: eclipse-temurin:17-jdk
options: --user root
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Clean caches
run: ./gradlew clean --stacktrace
- name: Upload releases
run: ./gradlew build github publish --stacktrace
env:
MAVEN_USERNAME: ${{ vars.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}