Skip to content

Build and publish nightly packages #1002

Build and publish nightly packages

Build and publish nightly packages #1002

name: Build and publish nightly packages
on:
workflow_dispatch:
schedule:
- cron: "0 5 * * *"
jobs:
build-macos-binaries:
name: Build ${{ matrix.target }}
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-apple-darwin, aarch64-apple-darwin]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/cargo-build-macos-binary
with:
target: ${{ matrix.target }}
version: nightly
token: ${{ secrets.GITHUB_TOKEN }}
build-linux-binaries:
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]
name: Build ${{ matrix.target }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/cross-build-binary
with:
target: ${{ matrix.target }}
version: nightly
token: ${{ secrets.GITHUB_TOKEN }}