chore(deps): update actions/setup-java digest to be666c2 (#255) #149
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: Deploy Javadoc | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write # pushes to the gh-pages branch | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-x64 | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 | |
| with: | |
| java-version: 11 | |
| distribution: 'temurin' | |
| - name: Generate Javadoc | |
| run: ./gradlew javaDoc | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| branch: gh-pages | |
| clean: true | |
| folder: agent/build/docs/javadoc | |
| target-folder: javadoc |