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 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"
3329
3430 # if actions version is given install defined versions
3531 - name : " [optional] Pull reusable 🤖 actions"
5551
5652 - name : Scan repo
5753 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
5955
6056 # https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/github-workflow.json
6157 - name : GitHub Actions - workflow
6864
6965 # https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/github-action.json
7066 - name : GitHub Actions - action
71- if : env.GH-ACTIONS == '1'
67+ if : steps.folders.outputs.gh_actions == '1'
7268 run : |
7369 files=$(find .github/actions -name '*.yml' -or -name '*.yaml')
7470 for f in $files; do
8076 - name : Azure Pipelines
8177 if : ${{ inputs.azure-dir != '' }}
8278 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
8480 run : |
8581 files=$(find ${{ inputs.azure-dir }} -name '*.yml' -or -name '*.yaml')
8682 for f in $files; do
You can’t perform that action at this time.
0 commit comments