Skip to content

Commit

Permalink
ci: setup goroot on build
Browse files Browse the repository at this point in the history
  • Loading branch information
1Conan committed Jul 3, 2024
1 parent 9b9c2d2 commit 7436c84
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21.1'
go-version: '1.21.3'

- name: Build
run: cd src && ./make.bash
run: |
export GOROOT_FINAL=$(go env GOROOT)
export GOROOT_BOOTSTRAP=$(go env GOROOT)
cd src
./make.bash -v
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.head_ref || github.ref_name }}/${{ github.sha }}
files: |
bin/go
bin/gofmt

0 comments on commit 7436c84

Please sign in to comment.