-
-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (37 loc) · 1.03 KB
/
debug.yaml
File metadata and controls
40 lines (37 loc) · 1.03 KB
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: Debug
"on":
workflow_call:
workflow_dispatch:
push:
paths:
- .github/workflows/debug.yaml
jobs:
project-metadata:
name: Project metadata
runs-on: ubuntu-24.04
outputs:
build_targets: ${{ steps.project-metadata.outputs.build_targets }}
steps:
- uses: actions/checkout@v5.0.1
- uses: astral-sh/setup-uv@v7.1.4
- name: Run gha-utils metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt
--
gha-utils metadata --overwrite "$GITHUB_OUTPUT"
dump-context:
name: ${{ matrix.os }} info dump
needs:
- project-metadata
if: needs.project-metadata.outputs.build_targets
strategy:
matrix:
include: ${{ fromJSON(needs.project-metadata.outputs.build_targets) }}
runs-on: ${{ matrix.os }}
steps:
- uses: crazy-max/ghaction-dump-context@v2.3.0