fix(array): cast numeric string keys into zend_ulong and allow nega…
#444
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: Deploy documentation | |
| on: | |
| workflow_dispatch: | |
| # runs every monday at midnight | |
| schedule: | |
| - cron: "0 0 * * 1" | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| docs: | |
| name: Build and Deploy | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: ["ubuntu-latest"] | |
| php: ["8.2"] | |
| clang: ["17"] | |
| mdbook: ["latest"] | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@nightly | |
| - name: Cache LLVM and Clang | |
| id: cache-llvm | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ runner.temp }}/llvm-${{ matrix.clang }} | |
| key: ${{ matrix.os }}-llvm-${{ matrix.clang }} | |
| - name: Setup LLVM & Clang | |
| uses: KyleMayes/install-llvm-action@v2 | |
| with: | |
| version: ${{ matrix.clang }} | |
| directory: ${{ runner.temp }}/llvm-${{ matrix.clang }} | |
| cached: ${{ steps.cache-llvm.outputs.cache-hit }} | |
| - name: Install mdbook | |
| uses: peaceiris/actions-mdbook@v2 | |
| with: | |
| mdbook-version: ${{ matrix.mdbook }} | |
| - name: Build guide | |
| run: mdbook build guide | |
| - name: Publish docs | |
| uses: JamesIves/[email protected] | |
| with: | |
| branch: gh-pages | |
| folder: guide/book | |
| clean: true |