Skip to content

Commit

Permalink
fix: simplify CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
swbsf committed Oct 24, 2023
1 parent b9dab4c commit d171e23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check plugin and script version
uses: mikefarah/[email protected]
with:
cmd: ./scripts/check_version.sh plugin.yaml scripts/install_version.sh ${{ github.ref }}
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.20
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
Expand Down
13 changes: 0 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,4 @@ builds:
- darwin
- windows
goarch:
- arm64
- amd64
- arm
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
arm64: arm64
format_overrides:
- goos: windows
format: zip

0 comments on commit d171e23

Please sign in to comment.