add tecno repo #10
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 and deploy Javadoc | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Build and deploy Javadoc | |
| env: | |
| JAVA_VERSION: 23 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ env.JAVA_VERSION }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ env.JAVA_VERSION }} | |
| distribution: 'zulu' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Build javadoc | |
| run: ./gradlew javadoc | |
| - name: Deploy javadoc to its assigned branch | |
| uses: s0/git-publish-subdir-action@develop | |
| env: | |
| REPO: self | |
| BRANCH: javadoc | |
| FOLDER: build/docs/javadoc | |
| SKIP_EMPTY_COMMITS: true | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| CLEAR_GLOBS_FILE: ".github/javadoc-publish-clear" |