Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b33ae50397 |
@@ -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,8 @@ jobs:
|
||||
run: go get .
|
||||
- name: Build
|
||||
run: go build -ldflags "-s -w" -o ./bin/serve main.go
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
- name: Release build artifacts
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
name: serve
|
||||
path: ./bin/serve
|
||||
files: ./bin/serve
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
||||
@@ -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