Skip to content

Commit

Permalink
fix PATH for make cross
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Nov 16, 2019
1 parent fa50137 commit 5b1c20f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
with:
go-version: 1.x
- name: Cross build
run: make cross
run: |
export PATH=$PATH:$(go env GOPATH)/bin # remove when actions/setup-go do this
make cross
- name: Create Release
id: create_release
uses: actions/create-release@master
Expand All @@ -28,7 +30,7 @@ jobs:
release_name: Release ${{ github.ref }}
- name: Upload
run: |
export PATH=$PATH:$(go env GOPATH)/bin # will be removed
export PATH=$PATH:$(go env GOPATH)/bin # remove when actions/setup-go do this
make upload
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5b1c20f

Please sign in to comment.