-
Notifications
You must be signed in to change notification settings - Fork 15
40 lines (37 loc) · 920 Bytes
/
build.yml
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: 🐳
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
pull_request:
branches:
- master
push:
branches:
- master
jobs:
setup:
runs-on: ubuntu-latest
outputs:
groups: ${{ steps.config.outputs.matrix }}
steps:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: actions/checkout@v4
- id: config
run: deno run --allow-net --allow-read --allow-write --allow-env src/main.ts
builds:
name: 🏷️ ${{ matrix.name }}
needs:
- setup
uses: ./.github/workflows/build-group.yml
strategy:
matrix:
include: ${{ fromJson(needs.setup.outputs.groups) }}
fail-fast: false
with:
tasks: ${{ toJson(matrix.tasks) }}
push: ${{ github.ref == 'refs/heads/master' || github.event_name == 'schedule' }}
manifests: ${{ matrix.manifests }}
secrets: inherit