Skip to content

Commit

Permalink
Update release Actions workflow for new cross-build process
Browse files Browse the repository at this point in the history
  • Loading branch information
kunickiaj committed Jul 19, 2021
1 parent eb5e286 commit ba97021
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,26 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0`
-
name: Set up Go
submodules: 'true'
- run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.15
-
name: Login to GitHub Container Registry
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GH_TOKEN }}
- name: release dry run
run: make release-dry-run
- name: setup release environment
run: |-
echo 'GITHUB_TOKEN=${{secrets.HOMEBREW_TAP_GH_TOKEN}}' > .release-env
- name: release publish
run: make release

0 comments on commit ba97021

Please sign in to comment.