Update documentation (#1) #2
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: Publish | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - v* | |
| jobs: | |
| pipeline: | |
| runs-on: ubuntu-latest | |
| environment: Publish | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Checks | |
| run: | | |
| ./scala --power compile --server=false --enable-markdown README.md | |
| ./mill __.checkFormat + __.test + __.publishLocal | |
| # - name: Publish | |
| # if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release' | |
| # run: | | |
| # git fetch --prune --unshallow | |
| # MILL_PGP_SECRET_BASE64=$(printf '%s' "$ORG_SIGNING_KEY" | sed -n '/-----BEGIN PGP PRIVATE KEY BLOCK-----/,/-----END PGP PRIVATE KEY BLOCK-----/p' | base64 -w0) \ | |
| # ./mill --no-server mill.scalalib.SonatypeCentralPublishModule/ | |
| # env: | |
| # MILL_SONATYPE_USERNAME: ${{ secrets.ORG_SONATYPE_USERNAME }} | |
| # MILL_SONATYPE_PASSWORD: ${{ secrets.ORG_SONATYPE_PASSWORD }} | |
| # ORG_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }} | |
| # MILL_PGP_PASSPHRASE: ${{ secrets.ORG_SIGNING_PASSWORD }} |