Skip to content

github actions

github actions #1

Workflow file for this run

name: Build main
on:
push:
branches:
- main
jobs:
build_main:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/[email protected]
- name: Setup Java
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 23
- name: Setup Gradle
uses: gradle/actions/[email protected]
- name: Build
run: ./gradlew build sourcesJar dokkaGeneratePublicationHtml publish
env:
ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }}
ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUBTOKEN }}