ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
@@ -11,7 +11,6 @@ steps:
|
|||||||
- go mod tidy
|
- go mod tidy
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o main main.go
|
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o main main.go
|
||||||
- ls -la main
|
- ls -la main
|
||||||
- file main
|
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
|
|||||||
Reference in New Issue
Block a user