Skip to content

Commit 0732236

Browse files
authored
Fixed ci/release-schema workflows (#940)
Signed-off-by: Paul Schultz <[email protected]>
1 parent fc77aa5 commit 0732236

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ jobs:
9898
run: echo ::set-output name=version::$(cat api-repo/schemas/latest/jsonSchemaVersion.txt)
9999

100100
- name: Publish the new version on devfile-web
101+
uses: actions/setup-python@v4
102+
with:
103+
python-version: '3.9'
101104
run: |
102105
py devfile-web-repo/python/src/api_workflow/api_workflow.py --version ${{ steps.get_version.outputs.version }} --devfile-schema api-repo/schemas/latest/devfile.json --release
103106

.github/workflows/release-schema.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
run: echo ::set-output name=version::$(cat api-repo/schemas/latest/jsonSchemaVersion.txt)
3232

3333
- name: Release new version on devfile-web
34+
uses: actions/setup-python@v4
35+
with:
36+
python-version: '3.9'
3437
run: |
3538
py devfile-web-repo/python/src/api_workflow/api_workflow.py --version ${{ steps.get_version.outputs.version }} --devfile-schema api-repo/schemas/latest/devfile.json --release
3639

0 commit comments

Comments
 (0)