Skip to content

Commit aece7b9

Browse files
correcting folder for zip destination.
1 parent df8e7ab commit aece7b9

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/stage-5-publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: "zip html release asset"
8282
# Git hub pages needs a single tar called artifact inside the zip.
8383
working-directory: ./artifacts/sdk-html-${{ inputs.version }}
84-
run: zip -r sdk-html-${{ inputs.version }}.zip .
84+
run: zip -r ../sdk-html-${{ inputs.version }}.zip .
8585
shell: bash
8686

8787
- name: "Upload sdk html release asset"
@@ -97,7 +97,7 @@ jobs:
9797
- name: "zip sdk ts release asset"
9898
# Git hub pages needs a single tar called artifact inside the zip.
9999
working-directory: ./artifacts/sdk-ts-${{ inputs.version }}
100-
run: zip -r sdk-ts-${{ inputs.version }}.zip .
100+
run: zip -r ../sdk-ts-${{ inputs.version }}.zip .
101101
shell: bash
102102

103103
- name: "Upload sdk ts release asset"
@@ -113,7 +113,7 @@ jobs:
113113
- name: "zip sdk python release asset"
114114
# Git hub pages needs a single tar called artifact inside the zip.
115115
working-directory: ./artifacts/sdk-python-${{ inputs.version }}
116-
run: zip -r sdk-python-${{ inputs.version }}.zip .
116+
run: zip -r ../sdk-python-${{ inputs.version }}.zip .
117117
shell: bash
118118

119119
- name: "Upload sdk python release asset"

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ clean:: # Clean-up project resources (main) @Operations
2424
rm -f .version
2525
(cd sdk && make clean)
2626

27+
serve:
28+
npm run serve
2729

2830
config:: _install-dependencies version # Configure development environment (main) @Configuration
2931
npm install

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ This will generate:
6161
To view HTML docs:
6262

6363
```bash
64-
npm run serve-html-docs
64+
make serve
6565
```
6666

6767
by default they will be available at [http://localhost:3050](http://localhost:3050)
6868

69-
Currently these are include in Git. TODO: gitignore these and have the build pipeline generate artifacts that can be downloaded from GitHub.
69+
These are generated using [https://hub.docker.com/r/openapitools/openapi-generator-cli](https://hub.docker.com/r/openapitools/openapi-generator-cli)
7070

7171
## Licence
7272

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"generate:ts": "docker run --rm --user $(id -u) -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/specification/api/notify-supplier.yml -g typescript -o /local/sdk/typescript --skip-validate-spec",
5454
"lint": "npm run lint --workspaces",
5555
"lint:fix": "npm run lint:fix --workspaces",
56+
"serve": "npm run serve-html-docs",
5657
"serve-html-docs": "npx serve sdk/html -p 3050",
5758
"start": "npm run start --workspace frontend",
5859
"test:unit": "npm run test:unit --workspaces",

0 commit comments

Comments
 (0)