Skip to content

Commit

Permalink
try using just goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Piszmog committed Jan 4, 2022
1 parent 30cfffa commit 9063147
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,24 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Create Release
uses: softprops/action-gh-release@v1
- name: Cache
uses: actions/cache@v2
with:
tag_name: ${{ github.event.inputs.version }}
generate_release_notes: true
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
# - name: Create Release
# uses: softprops/action-gh-release@v1
# with:
# tag_name: ${{ github.event.inputs.version }}
# generate_release_notes: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Assets
uses: actions/upload-artifact@v2
with:
name: lopper
path: dist/*

0 comments on commit 9063147

Please sign in to comment.