Skip to content

Commit 5a03562

Browse files
committed
Work CI-CD
- Update devcontainer-smoketest to only handle matix radio-freq when required. - Remove the submodule update as it is handled as part of checkout. ***NO_CI***
1 parent 528350d commit 5a03562

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/devcontainer-smoketest.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ jobs:
4848
tool-cache: true
4949
large-packages: false
5050

51-
- name: Update repo submodules
52-
run: |
53-
git submodule update --init
54-
5551
- name: Adjust config templates for a devcontainer
5652
run: |
5753
# Move into the config directory
@@ -62,7 +58,9 @@ jobs:
6258
mv user-tools-repos.TEMPLATE.json user-tools-repos.json
6359
6460
# Adjust the file content for a valid radio frequency (TI targets)
65-
sed -i -- 's|"RADIO_FREQUENCY": "CHANGE_ME_TO_A_VALID_VALUE_868_OR_915"|"RADIO_FREQUENCY": "${{ matrix.radio-freq }}"|g' user-prefs.json
61+
if [[ -n "${{ matrix.radio-freq }}" ]]; then
62+
sed -i -- 's|"RADIO_FREQUENCY": "CHANGE_ME_TO_A_VALID_VALUE_868_OR_915"|"RADIO_FREQUENCY": "${{ matrix.radio-freq }}"|g' user-prefs.json
63+
fi
6664
6765
# Adjust the file content for a devcontainer
6866
sed -i -- 's|"name": "user-tools-repos-container"|"name": "user-tools-repos"|g' user-tools-repos.json

0 commit comments

Comments
 (0)