Skip to content

Commit b6ebfab

Browse files
Francesco Phamfrankplus
Francesco Pham
authored andcommitted
github-ci: substituting bundleName to match signing materials
Signed-off-by: Francesco Pham <[email protected]>
1 parent f559591 commit b6ebfab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
4040
echo "=== Extracted Signing Materials ==="
4141
tree .secret -L 4
4242
43+
- name: Modify bundleName in app.json5
44+
run: |
45+
echo "Modifying bundleName in app.json5 to match the one in the signature materials"
46+
echo "this is a temporary workaround for using the same signature materials stored"
47+
echo "in GitHub secrets for multiple apps."
48+
echo "See: https://github.com/eclipse-oniro4openharmony/oniro-planning/issues/5#issuecomment-2538648996"
49+
sed -i '' 's/"bundleName": "[^"]*"/"bundleName": "com.example.oniromathpunching"/' ./AppScope/app.json5
50+
4351
- name: Set up tools and dependencies
4452
uses: eclipse-oniro4openharmony/oh-app-action@main
4553

0 commit comments

Comments
 (0)