File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 12
12
steps :
13
13
- name : Checkout devfile/api
14
14
uses : actions/checkout@v2
15
+ with :
16
+ path : api
15
17
16
18
- name : Setup python
17
19
uses : actions/setup-python@v2
@@ -26,17 +28,16 @@ jobs:
26
28
scope : ' @devfile'
27
29
28
30
- name : Generate typescript model
29
- run : ./build/typescript-model/generate.sh
30
-
31
- - name : Build typescript model
32
- run : yarn && yarn build
33
- working-directory : ./build/typescript-model/workdir/typescript-models
31
+ run : |
32
+ ./build/typescript-model/generate.sh
33
+ cp -r ./build/typescript-model/workdir/typescript-models ../
34
+ working-directory : api
34
35
35
36
- name : Release typescript models
36
37
run : |
37
38
VERSION=$(cat $GITHUB_WORKSPACE/api/schemas/latest/jsonSchemaVersion.txt)
38
- yarn --new-version version "$VERSION-$(date +%s)"
39
+ yarn --new-version version "$VERSION-$(date +%s)" --no-git-tag-version
39
40
yarn publish --access public
40
41
env :
41
42
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
42
- working-directory : ./build/typescript-model/workdir/ typescript-models
43
+ working-directory : ./typescript-models
You can’t perform that action at this time.
0 commit comments