diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 833a80e7..13c01f89 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,16 +14,19 @@ jobs: exclude: - goos: darwin goarch: arm + - goos: darwin + goarch: "386" steps: - uses: actions/checkout@v2 - name: Set RELEASE_VERSION env - run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10} - - uses: wangyoucao577/go-release-action@master + run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV + - uses: pcrbot/go-release-action@master env: CGO_ENABLED: 0 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - ldflags: -w -s -X "github.com/Yiwen-Chan/GroupManager.Version=${{ env.RELEASE_VERSION }}" + 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 }}"