Skip to content

Commit

Permalink
fix build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Sunglasses authored Sep 25, 2024
1 parent 904eeee commit a3b23bf
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Release

on:
push:
Expand All @@ -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:
Expand All @@ -33,4 +32,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: wand
path: dist/*
path: dist/*

0 comments on commit a3b23bf

Please sign in to comment.