|
@ -9,18 +9,19 @@ jobs: |
|
|
goreleaser: |
|
|
goreleaser: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- |
|
|
|
|
|
name: Checkout |
|
|
|
|
|
|
|
|
- name: Checkout |
|
|
uses: actions/checkout@v2 |
|
|
uses: actions/checkout@v2 |
|
|
with: |
|
|
with: |
|
|
fetch-depth: 0 |
|
|
fetch-depth: 0 |
|
|
- |
|
|
|
|
|
name: Set up Go |
|
|
|
|
|
|
|
|
- name: Set up Go |
|
|
uses: actions/setup-go@v2 |
|
|
uses: actions/setup-go@v2 |
|
|
with: |
|
|
with: |
|
|
go-version: 1.16 |
|
|
go-version: 1.16 |
|
|
- |
|
|
|
|
|
name: Run GoReleaser |
|
|
|
|
|
|
|
|
- name: Get packr |
|
|
|
|
|
run: go get -u github.com/gobuffalo/packr |
|
|
|
|
|
- name: Prepare |
|
|
|
|
|
run: git reset --hard |
|
|
|
|
|
- name: Run GoReleaser |
|
|
uses: goreleaser/goreleaser-action@v2 |
|
|
uses: goreleaser/goreleaser-action@v2 |
|
|
with: |
|
|
with: |
|
|
version: latest |
|
|
version: latest |
|
|