-
Notifications
You must be signed in to change notification settings - Fork 22
41 lines (38 loc) Β· 988 Bytes
/
Copy pathbuild.yml
File metadata and controls
41 lines (38 loc) Β· 988 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
31
32
33
34
35
36
37
38
39
40
41
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@v2.0.5
with:
deno-version: 2.x
- uses: actions/checkout@v7
- 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' }}
ghcrManifestCmds: ${{ matrix.ghcrManifestCmds }}
skopeoCopyCmds: ${{ matrix.skopeoCopyCmds }}
secrets: inherit