refactor: remove AccountManager and integrate services for account ma… #13
Workflow file for this run
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: Generate Javadoc from lib JAR | |
| on: | |
| workflow_dispatch: | |
| push: {} | |
| jobs: | |
| generate-javadoc: | |
| if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} | |
| name: Decompile JAR and generate Javadoc | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Clean previous artifacts | |
| run: | | |
| rm -rf tmp tools docs/prompt-view || true | |
| - name: Create tools directory | |
| run: mkdir -p tools | |
| - name: Download CFR decompiler | |
| run: | | |
| curl -L -o tools/cfr.jar https://www.benf.org/other/cfr/cfr-0.152.jar | |
| - name: Decompile lib JAR | |
| run: | | |
| mkdir -p tmp/src | |
| java -jar tools/cfr.jar lib/prompt-view-0.2.1-SNAPSHOT.jar --outputdir tmp/src | |
| - name: Generate Javadoc | |
| run: | | |
| javadoc -d docs/prompt-view -sourcepath tmp/src -subpackages org.academiadecodigo -encoding UTF-8 -charset UTF-8 | |
| - name: Upload Javadoc artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: prompt-view-javadoc | |
| path: docs/prompt-view | |
| - name: Cleanup temporary files | |
| run: rm -rf tmp tools || true |