Skip to content

Commit

Permalink
Fixing go releaser (#7)
Browse files Browse the repository at this point in the history
* Try go releaser again

* Add compile before release

* Comment out go mod tidy

* git rename missing folder

* Make back go mod tidy

* Release on tag only

Co-authored-by: DblK <[email protected]>
  • Loading branch information
DblK and DblK authored Dec 22, 2021
1 parent 90d9e75 commit eb28ea5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: Compile the source
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: build --rm-dist --skip-validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// main.go
package main

import (
Expand Down

0 comments on commit eb28ea5

Please sign in to comment.