Gradle Release #18
This file contains hidden or 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@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- run: git config user.name 'Nya Ξlimu' | |
- run: git config user.email 'info@elimu.ai' | |
- run: ./gradlew utils:releaseClean | |
- run: ./gradlew utils:releasePrepare -PbumpType=patch | |
- run: ./gradlew utils:releasePerform | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |