-
-
Notifications
You must be signed in to change notification settings - Fork 59
54 lines (45 loc) · 1.25 KB
/
mol.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: $mol
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
schedule:
- cron: "0 7 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Environment Printer
uses: managedkaos/[email protected]
- name: Build apps
uses: hyoo-ru/mam_build@master2
with:
token: ${{ secrets.GH_PAT }}
package: mol
modules: app/docs app/hello app/supplies perf/jsfb perf/sierp perf/uibench perf/dbmon perf/dopes app/quine app/questions time/all plot/all app/report syntax2 func/sandbox/demo
- name: Consolidate apps
run: |
rm -rf mol/.git
rm -rf mol/.github
rm -rf mol/.gitignore
rm -rf mol/icon
- uses: hyoo-ru/[email protected]
if: github.ref == 'refs/heads/master'
with:
folder: 'mol'
notify:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GH_PAT }}
repository: ${{ matrix.repo }}
event-type: dependency_changed
client-payload: '{"repository":${{ toJson(github.event.repository.name) }}}'
strategy:
matrix:
repo:
- hyoo-ru/mol.hyoo.ru