Skip to content

Release

Release #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
concurrency:
group: release
cancel-in-progress: true
jobs:
build:
uses: ./.github/workflows/ci.yml
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@v3
- uses: gradle/actions/wrapper-validation@v3
- 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 }}
ORG_GRADLE_PROJECT_gradlePublishKey: ${{ secrets.GRADLE_PUBLISH_KEY }}
ORG_GRADLE_PROJECT_gradlePublishSecret: ${{ secrets.GRADLE_PUBLISH_SECRET }}
pages:
uses: ./.github/workflows/pages.yml
needs: deploy