Skip to content

Commit

Permalink
fix(ci): proper cmd to setup swagger and fix filename for LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjules committed Mar 21, 2021
1 parent e2b74b0 commit a67303f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.16
run: go get -u github.com/swaggo/swag/cmd/swag
-
name: Set up Swaggo
run: go install github.com/swaggo/swag/cmd/swag@latest
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ archives:
386: 32-bit
amd64: 64-bit
files:
- LICENSE.md
- LICENSE
- README.md
- .env.dist
checksum:
Expand Down

0 comments on commit a67303f

Please sign in to comment.