ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
@@ -11,7 +11,7 @@ steps:
|
||||
- go/pkg/mod
|
||||
- ~/.cache/go-build
|
||||
backend: local
|
||||
cache_key: go-mod-cache-{{ checksum "go.sum" }}
|
||||
cache_key: go-mod-cache-{{ branch }}
|
||||
|
||||
- name: build
|
||||
image: golang:1.22
|
||||
@@ -29,7 +29,7 @@ steps:
|
||||
- go/pkg/mod
|
||||
- ~/.cache/go-build
|
||||
backend: local
|
||||
cache_key: go-mod-cache-{{ checksum "go.sum" }}
|
||||
cache_key: go-mod-cache-{{ branch }}
|
||||
|
||||
- name: upload
|
||||
image: appleboy/drone-scp
|
||||
|
||||
Reference in New Issue
Block a user