From 66e6f1d3a711570c9c92ce9c6daa7cfa79f3f449 Mon Sep 17 00:00:00 2001 From: Jaroslav Holub Date: Sat, 5 Mar 2022 18:56:00 +0700 Subject: [PATCH] install gon for signing --- .github/workflows/release.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c7c3846..5abc300 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,11 +15,20 @@ jobs: fetch-depth: 0 - name: Fetch all tags run: git fetch --force --tags - - name: Set up Go + - name: Set up go uses: actions/setup-go@v2 with: go-version: 1.17 - - name: Run GoReleaser + - name: Import certificates + uses: Apple-Actions/import-codesign-certs@v1 + with: + p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }} + p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} + - name: Install gon via homebrew + run: | + brew tap mitchellh/gon + brew install mitchellh/gon/gon + - name: Run goreleaser uses: goreleaser/goreleaser-action@v2 with: distribution: goreleaser