添加actions脚本
This commit is contained in:
parent
fd4ee8a329
commit
975b1efa87
19
.gitea/workflows/build.yml
Normal file
19
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,19 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: git fetch --force --tags
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '>=1.20.1'
|
||||
- run: go run main.go
|
Loading…
Reference in New Issue
Block a user