Release #19
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: Release | |
on: | |
workflow_dispatch: | |
jobs: | |
release: | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' # Set to Java 21 | |
distribution: 'temurin' # Use the Temurin JDK distribution | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '20' | |
- name: Install npm 5 or later | |
run: npm install -g [email protected] | |
- name: Make gradlew executable | |
run: chmod +x gradlew | |
- name: Install dependencies | |
run: npm ci | |
- name: Build project | |
run: ./gradlew build | |
- name: Run semantic-release | |
run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |