Skip to content

Gradle Release

Gradle Release #5

name: Gradle Release
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- run: git config user.name 'Nya Ξlimu'
- run: git config user.email '[email protected]'
- run: ./gradlew releaseClean
- run: ./gradlew releasePrepare -PbumpType=patch
- run: ./gradlew releasePerform
env:
GITHUB_TOKEN: ${{ github.token }}