fix: Replace constructor data references with up-to-date getter data #36
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 & Publish Javadocs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build-javadocs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Java | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| # Build dependencies | |
| - name: Build bits-utils | |
| run: | | |
| git clone https://github.com/BitByLogics/Bits-Utils.git | |
| cd Bits-Utils | |
| mvn clean install | |
| # Build PacketBlocks | |
| - name: Build PacketBlocks | |
| run: mvn clean install | |
| # Generate Javadocs | |
| - name: Build Javadocs | |
| run: mvn javadoc:javadoc | |
| # Deploy to GitHub Pages | |
| - name: Deploy Javadocs | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./target/reports/apidocs |