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