fix: change mnemonicGenerate(12) to mnemonicGenerate(12u) #130
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: Docs | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| deploy-gh-pages: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 17 | |
| distribution: zulu | |
| - name: Clear Gradle Cache | |
| run: rm -rf ~/.gradle/caches/ | |
| - name: Cache Konan | |
| uses: ./.github/actions/cache-konan | |
| - name: Cache Gradle | |
| uses: ./.github/actions/cache-gradle | |
| - name: Make gradlew executable | |
| run: chmod +x ./gradlew | |
| shell: bash | |
| - name: Generate GraphQL Client | |
| run: ./gradlew generateApolloSources --refresh-dependencies | |
| shell: bash | |
| - name: Generate HTML docs | |
| run: ./gradlew dokkaGenerate --refresh-dependencies | |
| shell: bash | |
| - name: Deploy docs to GitHub Pages | |
| uses: JamesIves/github-pages-deploy-action@v4.8.0 | |
| with: | |
| branch: gh-pages | |
| folder: lib/build/dokka |