Gradle Release #5
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: 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 }} |