Skip to content

Commit e357382

Browse files
committed
fix(ci): update-stores to also update the internal cmd/store-types.json file.
Signed-off-by: spbsoluble <1661003+spbsoluble@users.noreply.github.com>
1 parent 77a9ad8 commit e357382

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/update-stores.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
run: |
104104
python main.py --repo-name ${{ env.KFUTIL_ARG }} --ref ${{ env.TARGET_REPO_BRANCH }}
105105
cat store_types.json
106+
cp -f store_types.json cmd/store_types.json
106107
env:
107108
GITHUB_TOKEN: ${{ secrets.V2BUILDTOKEN }}
108109

@@ -134,6 +135,7 @@ jobs:
134135
run: |
135136
echo "Saving original store_types.json as store_types.sav.json"
136137
cp -f ./tools/store-type-merge/store_types.json ./merge-folder/store_types.json
138+
cp -f ./tools/store-type-merge/store_types.json ./merge-folder/cmd/store_types.json # this necessary?
137139
138140
# Diff the new json against the saved copy and set an UPDATE_FILE variable
139141
- name: Diff the results
@@ -154,7 +156,7 @@ jobs:
154156
env:
155157
GITHUB_TOKEN: ${{ secrets.SDK_SYNC_PAT }}
156158
with:
157-
add: store_types.json --force
159+
add: store_types.json cmd/store_types.json --force
158160
message: Update store_types.json for ${{env.KFUTIL_ARG}}:${{env.TARGET_REPO_BRANCH}}
159161
author_name: Keyfactor
160162
author_email: keyfactor@keyfactor.github.io
@@ -167,7 +169,7 @@ jobs:
167169
env:
168170
GITHUB_TOKEN: ${{ secrets.SDK_SYNC_PAT }}
169171
with:
170-
add: store_types.json --force
172+
add: store_types.json cmd/store_types.json --force
171173
message: Update store_types.json for ${{env.KFUTIL_ARG}}:${{env.TARGET_REPO_BRANCH}}
172174
author_name: Keyfactor
173175
author_email: keyfactor@keyfactor.github.io

0 commit comments

Comments
 (0)