Skip to content

Commit

Permalink
ci: Refactor release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
enenumxela committed Jul 22, 2023
1 parent 852c0db commit 75c1b65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
args: "release --clean"
distribution: goreleaser
version: latest
args: "release --clean"
workdir: .
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SLACK_WEBHOOK: "${{ secrets.SLACK_WEBHOOK }}"
Expand Down
5 changes: 2 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ builds:
archives:
-
id: tgz
builds: [xsubfind3r-cli]
builds:
- xsubfind3r-cli
format: tar.gz
replacements:
darwin: macOS
format_overrides:
-
goos: windows
Expand Down

0 comments on commit 75c1b65

Please sign in to comment.