-
Notifications
You must be signed in to change notification settings - Fork 4
68 lines (62 loc) · 1.8 KB
/
report-fork.yml
File metadata and controls
68 lines (62 loc) · 1.8 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Example report - fork
run-name: "${{ inputs.fork }}:${{ inputs.branch }}"
on:
workflow_dispatch:
inputs:
fork:
description: "Fork to target"
required: true
type: string
branch:
description: "Branch to target"
required: true
type: string
env:
PER_PAGE: 10
jobs:
get-environment:
name: Get Environment
runs-on: ubuntu-latest
outputs:
per_page: ${{ env.PER_PAGE }}
gitref: ${{ steps.env.outputs.gitref }}
date: ${{ steps.env.outputs.date }}
steps:
- name: Checkout Bevy main branch
uses: actions/checkout@v6
with:
repository: ${{ inputs.fork }}
ref: ${{ inputs.branch }}
- name: Get Environment
id: env
run: |
echo "gitref=`git rev-parse HEAD`" >> $GITHUB_OUTPUT
echo "date=`date +%Y%m%d%H%M`" >> $GITHUB_OUTPUT
native-run:
name: Native
needs: [get-environment]
uses: ./.github/workflows/workflow-native.yml
with:
gitref: ${{ needs.get-environment.outputs.gitref }}
branch: "${{ inputs.fork }}:${{ inputs.branch }}"
repository: ${{ inputs.fork }}
per_page: "${{ needs.get-environment.outputs.per_page }}"
secrets: inherit
mobile-run:
name: Mobile
needs: [get-environment]
uses: ./.github/workflows/workflow-mobile.yml
with:
gitref: ${{ needs.get-environment.outputs.gitref }}
branch: "${{ inputs.fork }}:${{ inputs.branch }}"
repository: ${{ inputs.fork }}
secrets: inherit
wasm-run:
name: wasm
needs: [get-environment]
uses: ./.github/workflows/workflow-wasm.yml
with:
gitref: ${{ needs.get-environment.outputs.gitref }}
branch: "${{ inputs.fork }}:${{ inputs.branch }}"
repository: ${{ inputs.fork }}
secrets: inherit