File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2626 uses : actions/checkout@v4
2727 with :
2828 submodules : recursive
29+ - name : Set up Python 🐍
30+ uses : actions/setup-python@v5
31+ with :
32+ python-version : " 3.x"
2933
3034 # if actions version is given install defined versions
3135 - name : " [optional] Pull reusable 🤖 actions"
5155
5256 - name : Scan repo
5357 id : folders
54- run : python -c "import os; print('gh_actions =' + str(int(os.path.isdir('.github/actions'))))" >> $GITHUB_OUTPUT
58+ run : python -c "import os; print('GH-ACTIONS =' + str(int(os.path.isdir('.github/actions'))))" >> $GITHUB_ENV
5559
5660 # https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/github-workflow.json
5761 - name : GitHub Actions - workflow
6468
6569 # https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/github-action.json
6670 - name : GitHub Actions - action
67- if : steps.folders.outputs.gh_actions == '1'
71+ if : env.GH-ACTIONS == '1'
6872 run : |
6973 files=$(find .github/actions -name '*.yml' -or -name '*.yaml')
7074 for f in $files; do
7680 - name : Azure Pipelines
7781 if : ${{ inputs.azure-dir != '' }}
7882 env :
79- SCHEMA_FILE : https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.208 .0/service-schema.json
83+ SCHEMA_FILE : https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.249 .0/service-schema.json
8084 run : |
8185 files=$(find ${{ inputs.azure-dir }} -name '*.yml' -or -name '*.yaml')
8286 for f in $files; do
You can’t perform that action at this time.
0 commit comments