From a3b23bfa766c39a7bd3a8292960cfc1e17f84132 Mon Sep 17 00:00:00 2001 From: Kanishk Pachauri Date: Wed, 25 Sep 2024 14:46:53 +0530 Subject: [PATCH] fix build.yml --- .github/workflows/build.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f046e92..a2f1f18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: build +name: Release on: push: @@ -9,22 +9,21 @@ permissions: contents: write jobs: - build: - name: GoReleaser build + goreleaser: runs-on: ubuntu-latest steps: - - name: Check out code into the Go module directory + - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Go 1.23 - uses: actions/setup-go@v3 + - name: Set up Go + uses: actions/setup-go@v4 with: - go-version: "1.23" - id: go + go-version: '1.20' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: + distribution: goreleaser version: latest args: release --clean env: @@ -33,4 +32,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: wand - path: dist/* \ No newline at end of file + path: dist/*