Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zxing-cpp/.github/workflows/gh-pages.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: gh-pages | |
| 2 | |
| 3 on: | |
| 4 # Runs on pushes targeting the default branch | |
| 5 # push: | |
| 6 # branches: ["master"] | |
| 7 | |
| 8 # Allows you to run this workflow manually from the Actions tab | |
| 9 workflow_dispatch: | |
| 10 | |
| 11 # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
| 12 permissions: | |
| 13 contents: read | |
| 14 pages: write | |
| 15 id-token: write | |
| 16 | |
| 17 # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | |
| 18 # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | |
| 19 concurrency: | |
| 20 group: "pages" | |
| 21 cancel-in-progress: false | |
| 22 | |
| 23 jobs: | |
| 24 # Single deploy job since we're just deploying | |
| 25 deploy: | |
| 26 environment: | |
| 27 name: github-pages | |
| 28 url: ${{ steps.deployment.outputs.page_url }} | |
| 29 runs-on: ubuntu-latest | |
| 30 steps: | |
| 31 - name: Checkout | |
| 32 uses: actions/checkout@v4 | |
| 33 | |
| 34 - name: Setup EMSDK | |
| 35 uses: mymindstorm/setup-emsdk@v14 | |
| 36 | |
| 37 - name: Configure | |
| 38 run: emcmake cmake -Swrappers/wasm -Bbuild | |
| 39 | |
| 40 - name: Build | |
| 41 run: cmake --build build -j4 | |
| 42 | |
| 43 - name: Prepare Archive | |
| 44 shell: sh | |
| 45 run: | | |
| 46 mkdir pages | |
| 47 mv build/zxing_* build/*.html pages | |
| 48 | |
| 49 - name: Upload artifact | |
| 50 uses: actions/upload-pages-artifact@v3 | |
| 51 with: | |
| 52 path: 'pages' | |
| 53 | |
| 54 - name: Deploy to GitHub Pages | |
| 55 id: deployment | |
| 56 uses: actions/deploy-pages@v4 |
