Skip to content

ci: update to Zig 0.13.0 #27

ci: update to Zig 0.13.0

ci: update to Zig 0.13.0 #27

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches: [main]
paths:
- 'src/**'
- 'web/**'
- '**.zig'
- '.github/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v2
with:
key: ${{ runner.os }}-build
path: |
zig-cache
~/.cache/deps-zig
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with: {version: master}
- name: Build web interface
run: zig build -Doptimize=ReleaseFast web
- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_dir: ./zig-out/web