forked from 0xPlaygrounds/rig
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 873 Bytes
/
cd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "Build & Release"
on:
push:
branches:
- main
workflow_dispatch:
jobs:
run-ci:
permissions:
checks: write
uses: ./.github/workflows/ci.yaml
secrets: inherit
release-plz:
name: Release-plz
needs: run-ci
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
# Required to compile rig-lancedb
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}