Skip to content

Release

Release #11

Workflow file for this run

name: Release
on:
workflow_dispatch:
concurrency:
group: release
cancel-in-progress: true
jobs:
build:
uses: ./.github/workflows/ci.yml
secrets: inherit
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: oracle
java-version: 22
check-latest: true
- uses: gradle/actions/setup-gradle@v4
- uses: gradle/actions/wrapper-validation@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- run: ./gradlew build
- run: yarn install --immutable
- run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GRADLE_PUBLISH_KEY : ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
pages:
uses: ./.github/workflows/pages.yml
needs: deploy