1 Commits
v1.2 ... v1.3

Author SHA1 Message Date
b33ae50397 mod(action): checkout depth and release action instead of upload action
Some checks failed
Go Project Action / Spell-check and test go project (push) Successful in 32s
Go Project Action / Spell-check and test go project (release) Successful in 28s
Release Go Application / Release go project (release) Failing after 30s
2024-10-06 11:07:08 +02:00
2 changed files with 8 additions and 4 deletions

View File

@@ -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}}'

View File

@@ -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: