1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

Merge branch 'master' into dev

This commit is contained in:
Mrs4s 2022-06-06 22:42:59 +08:00
commit 6fc3f0b649
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7
3 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.17'
go-version: '1.18'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2

View File

@ -3,6 +3,9 @@ env:
before:
hooks:
- go mod tidy
release:
draft: true
discussion_category_name: General
builds:
- id: nowin
env:

View File

@ -81,7 +81,7 @@ func Main() {
mkCacheDir := func(path string, _type string) {
if !global.PathExists(path) {
if err := os.MkdirAll(path, 0o644); err != nil {
if err := os.MkdirAll(path, 0o755); err != nil {
log.Fatalf("创建%s缓存文件夹失败: %v", _type, err)
}
}