Skip to content

Release

Release #12

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: 21
check-latest: true
- uses: gradle/actions/setup-gradle@v3
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- run: ./gradlew assemble
- run: yarn install --immutable
- run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME_TOKEN }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD_TOKEN }}
pages:
uses: ./.github/workflows/pages.yml
needs: deploy