This commit is contained in:
parent
aa28ffedc8
commit
b383610750
1 changed files with 7 additions and 3 deletions
|
|
@ -1,11 +1,11 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build-linux-amd64:
|
||||
runs-on: docker
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-go@v6
|
||||
|
|
@ -13,6 +13,8 @@ jobs:
|
|||
go-version: '^1.25.3'
|
||||
- run: go version
|
||||
|
||||
- run: echo "${{ env.GITHUB_REF_NAME }}"
|
||||
|
||||
- name: Build binary
|
||||
env:
|
||||
GOOS: linux
|
||||
|
|
@ -24,3 +26,5 @@ jobs:
|
|||
with:
|
||||
direction: upload
|
||||
token: ${{ secrets.RELEASE_TOKEN }}
|
||||
tag: ${{ env.GITHUB_REF_NAME }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue