From 439054b46b79e34b6a54700a30b726ab6c3c80ca Mon Sep 17 00:00:00 2001 From: ref <56499429+referefref@users.noreply.github.com> Date: Sat, 29 Jun 2024 02:28:00 +0800 Subject: [PATCH] Update release_build.yml --- .github/workflows/release_build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index cf3fe1c..3d9364d 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -14,6 +14,7 @@ jobs: strategy: matrix: os: [ windows-latest ] + runs-on: ${{ matrix.os }} steps: @@ -22,16 +23,14 @@ jobs: with: fetch-depth: 0 - name: Set up Go 1.18 - uses: actions/setup-go@v4 - - name: Test - run: | - go version - go mod tidy + uses: actions/setup-go@v4 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 + with: distribution: goreleaser version: latest + goos: windows args: release --clean --skip-validate env: GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}