forked from victoriadrake/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 930 Bytes
/
test_all.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
name: Test all installers
on:
schedule:
# To decrease the chance of delay, avoid the start of the hour.
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "17 5 * * *"
workflow_dispatch:
jobs:
list_installers:
name: List all installers
runs-on: ubuntu-latest
outputs:
installers: ${{steps.list_step.outputs.installers}}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: List installers
id: list_step
run: |
{
printf "installers="
find programs -mindepth 1 -maxdepth 1 -printf "%P\n" \
| sort | jq -R | jq -s -c -M
} >> "$GITHUB_OUTPUT"
test_installers:
name: Test installers
needs: list_installers
uses: ./.github/workflows/test_installers.yml
with:
installers: ${{needs.list_installers.outputs.installers}}