Skip to content

Commit 0acf3a5

Browse files
Merge pull request #121 from marcel-licence/120-test-branches-if-existing
run ci with branches too
2 parents 296b4cd + f454911 commit 0acf3a5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/arduino-cli-ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,14 @@ jobs:
282282
run: |
283283
mkdir -p ~/Arduino/libraries
284284
285-
git clone --depth 1 https://github.com/marcel-licence/ML_SynthTools.git \
285+
git clone --depth 1 --branch "$REF" https://github.com/marcel-licence/ML_SynthTools.git \
286+
~/Arduino/libraries/ML_SynthTools \
287+
|| git clone --depth 1 https://github.com/marcel-licence/ML_SynthTools.git \
286288
~/Arduino/libraries/ML_SynthTools
287289
288-
git clone --depth 1 https://github.com/marcel-licence/ML_SynthTools_Lib.git \
290+
git clone --depth 1 --branch "$REF" https://github.com/marcel-licence/ML_SynthTools_Lib.git \
291+
~/Arduino/libraries/ML_SynthTools_Lib \
292+
|| git clone --depth 1 https://github.com/marcel-licence/ML_SynthTools_Lib.git \
289293
~/Arduino/libraries/ML_SynthTools_Lib
290294
291295
- name: Compile Sketch

0 commit comments

Comments
 (0)