Change visibility for inheritance #74
Workflow file for this run
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: build | |
on: | |
pull_request: {} | |
workflow_dispatch: {} | |
push: | |
branches: | |
- 'master' | |
tags-ignore: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version-file: .github/workflows/.java-version | |
- uses: gradle/actions/setup-gradle@v4 | |
- run: ./gradlew build dokkaHtmlMultiModule | |
- run: ./gradlew publish | |
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'sqldelight/sql-psi' }} | |
env: | |
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }} | |
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }} | |
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }} | |
- name: Deploy docs to website | |
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'sqldelight/sql-psi' }} | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: site | |
FOLDER: build/dokka/htmlMultiModule | |
TARGET_FOLDER: docs/latest/ | |
CLEAN: true |