Skip to content

Commit f69fa52

Browse files
authored
Updated release-schema and CI workflows (#943)
Signed-off-by: Paul Schultz <[email protected]>
1 parent 8577028 commit f69fa52

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +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-
working-directory: devfile-web-repo/
102101
run: |
103-
python ./python/src/api_workflow/api_workflow.py --version ${{ steps.get_version.outputs.version }} --devfile-schema api-repo/schemas/latest/devfile.json --release
102+
cd devfile-web-repo/
103+
python 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
104104
105105
- name: Push to the devfile/devfile-web repo
106106
working-directory: devfile-web-repo/

.github/workflows/release-schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +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-
working-directory: devfile-web-repo/
3534
run: |
36-
python ./python/src/api_workflow/api_workflow.py --version ${{ steps.get_version.outputs.version }} --devfile-schema api-repo/schemas/latest/devfile.json --release
35+
cd devfile-web-repo/
36+
python 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
3737
3838
- name: Push to the devfile/devfile-web repo
3939
working-directory: devfile-web-repo/

0 commit comments

Comments
 (0)