mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-18 20:50:12 +08:00
💚 Start action
This commit is contained in:
parent
943cf04beb
commit
b022372b62
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
|
||||
jobs:
|
||||
releases-matrix:
|
||||
name: Release Go Binary
|
||||
name: Build GroupManager 🚀
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
@ -21,7 +21,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set RELEASE_VERSION env
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
|
||||
- uses: pcrbot/go-release-action@master
|
||||
- uses: Yiwen-Chan/go-release-action@master
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
with:
|
||||
@ -29,4 +29,4 @@ jobs:
|
||||
goos: ${{ matrix.goos }}
|
||||
goarch: ${{ matrix.goarch }}
|
||||
goversion: "https://golang.org/dl/go1.15.3.linux-amd64.tar.gz"
|
||||
ldflags: -w -s -X "github.com/Mrs4s/go-cqhttp/coolq.Version=${{ env.RELEASE_VERSION }}"
|
||||
ldflags: -w -s -X "github.com/Yiwen-Chan/GroupManager/gm.Version=${{ env.RELEASE_VERSION }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user