-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 749 Bytes
/
build.yml
File metadata and controls
31 lines (30 loc) · 749 Bytes
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
name: Build
on:
workflow_call:
workflow_dispatch:
env:
REGISTRY_IMAGE: ghcr.io/cbackas/hookbuffer
jobs:
build-full:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
build-worker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm install wrangler
- uses: Swatinem/rust-cache@v2
- run: npx wrangler deploy --dry-run
build-docker:
uses: ./.github/workflows/build-docker.yml
with:
no_push: true