Skip to content

Commit 363d086

Browse files
author
Minh Hai Chu
authored
Refactor CI/CD workflow by removing dependency cache
Removed caching step for MLonMCU dependencies and updated condition for toolchain setup.
1 parent 6cdb4fe commit 363d086

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,23 +82,12 @@ jobs:
8282
- name: Set MLONMCU_HOME env
8383
run: echo "MLONMCU_HOME=$GITHUB_WORKSPACE/mlonmcu/workspace_kws" >> $GITHUB_ENV
8484

85-
- name: Cache MLonMCU dependencies (ETISS, toolchains, etc.)
86-
id: cache-deps
87-
uses: actions/cache@v4
88-
with:
89-
path: |
90-
mlonmcu/workspace_kws/deps
91-
key: mlonmcu-deps-${{ runner.os }}-v3-${{ hashFiles('mlonmcu/requirements.txt', 'mlonmcu/setup.py') }}
92-
restore-keys: |
93-
mlonmcu-deps-${{ runner.os }}-v3-
94-
mlonmcu-deps-${{ runner.os }}-
95-
9685
- name: Configure Git to use HTTPS with token
9786
run: |
9887
git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "[email protected]:"
9988
10089
- name: Setup MLonMCU toolchain
101-
if: steps.cache-deps.outputs.cache-hit != 'true'
90+
if: steps.cache-mlonmcu.outputs.cache-hit != 'true'
10291
working-directory: mlonmcu
10392
shell: bash
10493
run: |

0 commit comments

Comments
 (0)