Skip to content

build

build #300

Workflow file for this run

name: build
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
schedule:
- cron: '0 1 * * *'
workflow_dispatch:
jobs:
test:
name: build
runs-on: macos-ventura
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Install dependencies
run: scripts/install-dependencies.sh
- name: Build and test
run: exec ./scripts/build.sh
- name: Release
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: scripts/release.sh