@@ -19,17 +19,17 @@ jobs:
19
19
# Retrieve json schema from td repository
20
20
mkdir .temp && cd .temp
21
21
git init
22
- git fetch https://github.com/w3c/wot-thing-description .git
23
- git checkout FETCH_HEAD -- validation/td-json-schema-validation.json
22
+ git fetch https://github.com/w3c/wot-resources .git
23
+ git checkout FETCH_HEAD -- td/v1.1/ validation/td-json-schema-validation.json
24
24
- name : Look for changes
25
25
continue-on-error : true
26
26
run : |
27
- git diff --no-index --quiet typescript/thing-description/schema/td-json-schema-validation.json .temp/validation/td-json-schema-validation.json
27
+ git diff --no-index --quiet typescript/thing-description/schema/td-json-schema-validation.json .temp/td/v1.1/ validation/td-json-schema-validation.json
28
28
echo "::set-output name=changed::$?"
29
29
id : diff
30
30
- name : Sync file
31
31
if : ${{ ! steps.diff.outputs.changed }}
32
- run : mv .temp/validation/td-json-schema-validation.json typescript/thing-description/schema/td-json-schema-validation.json && rm -rf .temp
32
+ run : mv .temp/td/v1.1/ validation/td-json-schema-validation.json typescript/thing-description/schema/td-json-schema-validation.json && rm -rf .temp
33
33
- name : Generate types
34
34
if : ${{ ! steps.diff.outputs.changed }}
35
35
run : |
@@ -64,17 +64,17 @@ jobs:
64
64
# Retrieve json schema from td repository
65
65
mkdir .temp && cd .temp
66
66
git init
67
- git fetch https://github.com/w3c/wot-thing-description .git
68
- git checkout FETCH_HEAD -- validation/tm-json-schema-validation.json
67
+ git fetch https://github.com/w3c/wot-resources .git
68
+ git checkout FETCH_HEAD -- td/v1.1/ validation/tm-json-schema-validation.json
69
69
- name : Look for changes
70
70
continue-on-error : true
71
71
run : |
72
- git diff --no-index --quiet typescript/thing-model/schema/tm-json-schema-validation.json .temp/validation/tm-json-schema-validation.json
72
+ git diff --no-index --quiet typescript/thing-model/schema/tm-json-schema-validation.json .temp/td/v1.1/ validation/tm-json-schema-validation.json
73
73
echo "::set-output name=changed::$?"
74
74
id : diff
75
75
- name : Sync file
76
76
if : ${{ ! steps.diff.outputs.changed }}
77
- run : mv .temp/validation/tm-json-schema-validation.json typescript/thing-model/schema/tm-json-schema-validation.json && rm -rf .temp
77
+ run : mv .temp/td/v1.1/ validation/tm-json-schema-validation.json typescript/thing-model/schema/tm-json-schema-validation.json && rm -rf .temp
78
78
- name : Generate types
79
79
if : ${{ ! steps.diff.outputs.changed }}
80
80
run : |
0 commit comments