Skip to content

Commit 01bb4f2

Browse files
Update main.yml
1 parent c93bcd9 commit 01bb4f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ jobs:
2424
- name: Get Source
2525
run: |
2626
cd /home/ubuntu
27-
[ ! -d barcode-reader-javascript-samples ] && git clone --depth 1 https://github.com/Dynamsoft/barcode-reader-javascript-samples.git
28-
[ -d barcode-reader-javascript-samples ] && cd barcode-reader-javascript-samples && git pull https://github.com/Dynamsoft/barcode-reader-javascript-samples.git
27+
[ -d barcode-reader-javascript-samples ] && rm -rf barcode-reader-javascript-samples
28+
[ ! -d barcode-reader-javascript-samples ] && git clone --depth 1 -b demo https://github.com/Dynamsoft/barcode-reader-javascript-samples.git
29+
[ -d barcode-reader-javascript-samples ] && cd barcode-reader-javascript-samples && git pull
2930
3031
- name: Sync files
3132
uses: SamKirkland/[email protected]

0 commit comments

Comments
 (0)