googleapis / googleapis/google-api-java-client

How can we move .github/workflows/ci.yaml back to synthtool's template?

Đang mở
#1,720 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p4 type: process
Ngôn ngữ chính
Java
Star
1.5k
Fork
772
Merge trung bình
1 giờ 44 phút
Pull request đã merge (30 ngày)
1

Mô tả

As synthtool's template does not call `.kokoro/install_dependencies.sh `, I had to exclude ci.yaml from synthtool's management: https://github.com/googleapis/google-api-java-client/pull/1699/files#diff-c881f5091bb23fef16e6e6da031e4268bbb11bb3404c1a2c7da8afa53c26f4ecL32.

# What's missing in synthtool's template

## install_dependencies is not called.

How about the following options?

- build.sh to call install_dependencies.sh if it exists
- GitHub actions (ci.yaml) to call install_dependencies.sh if it exists

Does install_dependencies.sh work in Windows?

## Synthtool's template is missing to disable CRLF conversion.

```
- name: git configuration to avoid automatic CRLF conversion
run: |
git config --global core.autocrlf false
git config --global core.eol lf
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.