|
|
|
@ -3,7 +3,7 @@ name: release
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
tags:
|
|
|
|
|
- 'v*'
|
|
|
|
|
- "v*"
|
|
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
@ -14,10 +14,15 @@ jobs:
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
platform: [ubuntu-latest]
|
|
|
|
|
go-version: [ '1.21' ]
|
|
|
|
|
go-version: ["1.21"]
|
|
|
|
|
name: Release
|
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
|
steps:
|
|
|
|
|
- name: Setup Go
|
|
|
|
|
uses: actions/setup-go@v4
|
|
|
|
|
with:
|
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
|
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
|
@ -31,9 +36,9 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
|
|
|
|
with:
|
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
|
automatic_release_tag: "v${{ steps.get_version.outputs.VERSION }}"
|
|
|
|
|
title: "Version ${{ steps.get_version.outputs.VERSION }}"
|
|
|
|
|
prerelease: false
|
|
|
|
|
files: |
|
|
|
|
|
build/*
|
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
|
automatic_release_tag: "v${{ steps.get_version.outputs.VERSION }}"
|
|
|
|
|
title: "Version ${{ steps.get_version.outputs.VERSION }}"
|
|
|
|
|
prerelease: false
|
|
|
|
|
files: |
|
|
|
|
|
build/*
|
|
|
|
|