Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zxing-cpp/.github/workflows/publish-android.yml @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 name: publish-android | |
| 2 | |
| 3 on: | |
| 4 # release: | |
| 5 # types: [published] | |
| 6 | |
| 7 workflow_dispatch: | |
| 8 inputs: | |
| 9 publish: | |
| 10 description: 'Publish package (y/n)' | |
| 11 default: 'n' | |
| 12 | |
| 13 jobs: | |
| 14 publish: | |
| 15 runs-on: ubuntu-latest | |
| 16 steps: | |
| 17 - uses: actions/checkout@v4 | |
| 18 - uses: actions/setup-java@v4 | |
| 19 with: | |
| 20 distribution: 'temurin' | |
| 21 java-version: '17' | |
| 22 # working-directory: wrappers/android | |
| 23 # run: ./gradlew versionDisplay | |
| 24 | |
| 25 - name: Build Library | |
| 26 working-directory: wrappers/android | |
| 27 run: ./gradlew assembleRelease | |
| 28 | |
| 29 - name: Publish Library | |
| 30 if: ${{ github.event.inputs.publish == 'y' }} | |
| 31 working-directory: wrappers/android | |
| 32 env: | |
| 33 ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }} | |
| 34 ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} | |
| 35 ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }} | |
| 36 ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }} | |
| 37 run: ./gradlew publishReleasePublicationToSonatypeRepository |
