Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 62b49cf36c | |||
| 7813db72f1 | |||
| b33ae50397 | |||
| c838ebf698 |
@@ -14,6 +14,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup Go installation
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
@@ -22,8 +24,7 @@ jobs:
|
||||
run: go get .
|
||||
- name: Build
|
||||
run: go build -ldflags "-s -w" -o ./bin/serve main.go
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
- name: Release build artifacts
|
||||
uses: akkuman/gitea-release-action@v1.3.2
|
||||
with:
|
||||
name: serve
|
||||
path: ./bin/serve
|
||||
files: ./bin/serve
|
||||
|
||||
@@ -15,6 +15,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup Go installation
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user