Skip to content

ci: ci skip: test build on tag #146

ci: ci skip: test build on tag

ci: ci skip: test build on tag #146

Workflow file for this run

name: main
on:
push:
branches: [ "main" ]
tags:
- '*'
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build
if: "!contains(github.event.commits[0].message, 'ci skip')"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: 0.13.0
- name: Build
run: zig build test
- name: Release from tags
if: startsWith(github.event.ref, 'refs/tags/v')
run: |
echo "todo: release here"
zig build -Doptimize=ReleaseFast --summary all
ls -laF zig-out/