enforce inlining in Int, Float and Bool #28
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
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - v* | |
| name: Upload Docs | |
| jobs: | |
| upload-docs: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| - name: Setup Zig | |
| uses: mlugg/[email protected] | |
| with: | |
| version: latest | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: package.json | |
| - name: Install Test Dependencies | |
| run: bun i | |
| - name: Build Docs | |
| run: zig build -Demit-docs | |
| - name: Upload Docs | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| command: pages deploy zig-out/docs --project-name=zigpak | |
| gitHubToken: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload Docs to Prod | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| command: pages deploy zig-out/docs --project-name=zigpak --branch=main | |
| gitHubToken: ${{ secrets.GITHUB_TOKEN }} | |
| if: startsWith(github.ref_name, 'v') |