Skip to content

Commit 23ee593

Browse files
committed
Revert "ci: update azure-pipelines schema (#355)"
This reverts commit b10d1eb.
1 parent 0684c85 commit 23ee593

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/check-schema.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ jobs:
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"
@@ -55,7 +51,7 @@ jobs:
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
@@ -68,7 +64,7 @@ jobs:
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
@@ -80,7 +76,7 @@ jobs:
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

0 commit comments

Comments
 (0)