5 Commits
v1.0 ... v1.5

Author SHA1 Message Date
62b49cf36c mod(action): use different gitea-release-action
All checks were successful
Go Project Action / Spell-check and test go project (push) Successful in 32s
Release Go Application / Release go project (release) Successful in 26s
Go Project Action / Spell-check and test go project (release) Successful in 29s
2024-10-06 11:22:33 +02:00
7813db72f1 mod(action): remove fetch-depth 0
Some checks failed
Go Project Action / Spell-check and test go project (push) Successful in 33s
Release Go Application / Release go project (release) Failing after 26s
Go Project Action / Spell-check and test go project (release) Successful in 28s
Not sure if this is the issue for the tag not being found, but I want
to try
2024-10-06 11:17:08 +02:00
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
c838ebf698 mod(action): decrement version for upload-artifact action
All checks were successful
Go Project Action / Spell-check and test go project (push) Successful in 32s
Release Go Application / Release go project (release) Successful in 41s
Go Project Action / Spell-check and test go project (release) Successful in 29s
2024-10-06 11:01:16 +02:00
132748ff5e mod(action): release action
Some checks failed
Go Project Action / Spell-check and test go project (push) Successful in 33s
Release Go Application / Release go project (release) Failing after 31s
Go Project Action / Spell-check and test go project (release) Successful in 28s
2024-10-06 10:50:17 +02:00
2 changed files with 7 additions and 10 deletions

View File

@@ -11,10 +11,11 @@ jobs:
name: Release go project
runs-on: ubuntu-latest
timeout-minutes: 15
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go installation
uses: actions/setup-go@v5
with:
@@ -23,13 +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
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'Cannot release with failing tests'
files: ./bin/serve

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: