apksig 0.4.0

Decoding the APK Signing Block
Documentation
name: Deploy

on:
    push:
        branches: ["main"]

    # Allows you to run this workflow manually from the Actions tab
    workflow_dispatch:

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
    group: "pages"
    cancel-in-progress: false

jobs:
    deploy:
        runs-on: ubuntu-latest
        permissions:
            pages: write # to deploy to Pages
            id-token: write
        environment:
            name: github-pages
            url: ${{ steps.deployment.outputs.page_url }}
        steps:
            - uses: actions/checkout@v4
            - name: Setup Pages
              uses: actions/configure-pages@v5
              with:
                  enablement: true
            - uses: jetli/trunk-action@v0.5.0
            - uses: jetli/wasm-bindgen-action@v0.2.0
            - name: Set up cargo cache
              uses: Swatinem/rust-cache@v2
            - name: Build
              run: cd web_demo/ && trunk build --release --public-url ./
            - uses: taiki-e/install-action@cargo-llvm-cov
            - name: Run coverage
              run: |
                  cargo llvm-cov --all --html --no-cfg-coverage
                  rsync -a target/llvm-cov/html/ web_demo/dist/coverage/
                  chmod -R +rx web_demo/dist/coverage/
            - name: Upload coverage artifact
              uses: actions/upload-pages-artifact@v3
              with:
                  path: "web_demo/dist"
            - name: Deploy to GitHub Pages
              id: deployment
              uses: actions/deploy-pages@v4