Skip to content

ci: add an action to build binaries #3

ci: add an action to build binaries

ci: add an action to build binaries #3

Workflow file for this run

name: Binaries
on:
# TODO: remove PR before merging
pull_request:
workflow_dispatch:
merge_group:
jobs:
binary:
name: Create
strategy:
fail-fast: false
matrix:
include:
- os: macos-13
name: mac-intel
- os: macos-14
name: mac-arm
- os: ubuntu-latest
name: linux-intel
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v22
- run: nix build
- uses: actions/upload-artifact@v4
with:
path: result/bin/dune
name: dune-${{ matrix.name }}
merge:
runs-on: ubuntu-latest
needs: upload

Check failure on line 33 in .github/workflows/binaries.yml

View workflow run for this annotation

GitHub Actions / Binaries

Invalid workflow file

The workflow is not valid. .github/workflows/binaries.yml (Line: 33, Col: 12): Job 'merge' depends on unknown job 'upload'.
steps:
- uses: actions/upload-artifact/merge@v4