File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 26
26
uses : actions/checkout@v4
27
27
with :
28
28
submodules : recursive
29
- - name : Set up Python 🐍
30
- uses : actions/setup-python@v5
31
- with :
32
- python-version : " 3.x"
33
29
34
30
# if actions version is given install defined versions
35
31
- name : " [optional] Pull reusable 🤖 actions"
55
51
56
52
- name : Scan repo
57
53
id : folders
58
- run : python -c "import os; print('GH-ACTIONS =' + str(int(os.path.isdir('.github/actions'))))" >> $GITHUB_ENV
54
+ run : python -c "import os; print('gh_actions =' + str(int(os.path.isdir('.github/actions'))))" >> $GITHUB_OUTPUT
59
55
60
56
# https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/github-workflow.json
61
57
- name : GitHub Actions - workflow
68
64
69
65
# https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/github-action.json
70
66
- name : GitHub Actions - action
71
- if : env.GH-ACTIONS == '1'
67
+ if : steps.folders.outputs.gh_actions == '1'
72
68
run : |
73
69
files=$(find .github/actions -name '*.yml' -or -name '*.yaml')
74
70
for f in $files; do
80
76
- name : Azure Pipelines
81
77
if : ${{ inputs.azure-dir != '' }}
82
78
env :
83
- SCHEMA_FILE : https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.249 .0/service-schema.json
79
+ SCHEMA_FILE : https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.208 .0/service-schema.json
84
80
run : |
85
81
files=$(find ${{ inputs.azure-dir }} -name '*.yml' -or -name '*.yaml')
86
82
for f in $files; do
You can’t perform that action at this time.
0 commit comments