build release github action doesn't work, so I updated the latest ver… #42
This file contains 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 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: 22 | |
- name: Setup Gradle | |
uses: gradle/actions/[email protected] | |
- name: Install libcurl4 | |
run: sudo apt-get install -y libcurl4-gnutls-dev | |
- name: Build | |
run: ./gradlew build sourcesJar dokkaHtml publish | |
env: | |
ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} | |
ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUBTOKEN }} | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} | |
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} | |
ORG_GRADLE_PROJECT_sonatypeUser: ${{ secrets.SONATYPE_USER }} | |
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} | |
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |