forked from endless-sky/endless-sky
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (47 loc) · 1.59 KB
/
compute-changes.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
name: Compute Changes
on:
workflow_call:
outputs:
data:
value: ${{ jobs.changed.outputs.data }}
game_code:
value: ${{ jobs.changed.outputs.game_code }}
linux:
value: ${{ jobs.changed.outputs.linux }}
unit_tests:
value: ${{ jobs.changed.outputs.unit_tests }}
integration_tests:
value: ${{ jobs.changed.outputs.integration_tests }}
codespell:
value: ${{ jobs.changed.outputs.codespell }}
codeblocks_files:
value: ${{ jobs.changed.outputs.codeblocks_files }}
cmake_files:
value: ${{ jobs.changed.outputs.cmake_files }}
copyright:
value: ${{ jobs.changed.outputs.copyright }}
parse_script:
value: ${{ jobs.changed.outputs.parse_script }}
jobs:
changed:
runs-on: ubuntu-latest
outputs:
data: ${{ steps.filter.outputs.data }}
game_code: ${{ steps.filter.outputs.game_code }}
linux: ${{ steps.filter.outputs.linux }}
unit_tests: ${{ steps.filter.outputs.unit_tests }}
integration_tests: ${{ steps.filter.outputs.integration_tests }}
codespell: ${{ steps.filter.outputs.codespell }}
codeblocks_files: ${{ steps.filter.outputs.codeblocks_files }}
cmake_files: ${{ steps.filter.outputs.cmake_files }}
copyright: ${{ steps.filter.outputs.copyright }}
parse_script: ${{ steps.filter.outputs.parse_script }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: dorny/paths-filter@v2
id: filter
with:
filters: .github/path-filters.yml
token: ${{ github.token }}