Skip to content

Commit 6d1ce28

Browse files
authored
fix(ci): skip cp if same
1 parent 2ee950d commit 6d1ce28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Run CI
4141
# https://github.com/actions/setup-go/issues/107#issuecomment-854071850
4242
run: |
43-
cp -f `which go` /usr/bin/go
43+
[ `which go` = /usr/bin/go ] || cp -f `which go` /usr/bin/go
4444
# export PATH=${GOROOT}/bin:$PATH
4545
go version
4646
make ci

0 commit comments

Comments
 (0)