Skip to content

Commit

Permalink
Release workflow fixes
Browse files Browse the repository at this point in the history
GOPATH is no longer exported by the actions/setup-go@v2
>  actions/setup-go#12 (comment)
>  goreleaser/goreleaser-action#267
Added to the GoReleaser configuration for GOAPTH externally

Signed-off-by: Konstantina Gramatova <konstantina.gramatova@bosch.io>
  • Loading branch information
konstantina-gramatova committed Mar 2, 2022
1 parent f91ca3a commit c89a72b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: eclipse-kanto/suite-connector
path: ${{ env.BUILD_TMP }}/suite-connector'
path: ${{ env.BUILD_TMP }}/suite-connector
ref: ${{ github.ref }}
token: ${{ secrets.WF_AUTH }}
- name: Checkout container-management
Expand Down Expand Up @@ -60,3 +60,7 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GOPATH is no longer exported by the actions/setup-go@v2
# https://github.com/actions/setup-go/issues/12#issuecomment-604605595
# https://github.com/goreleaser/goreleaser-action/issues/267
GOPATH: /home/runner/go

0 comments on commit c89a72b

Please sign in to comment.