-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the required prefix $Env: to overwrite go variables of the environmment. At this time, previously installed go version remains on path. GOROOT_BOOTSTRAP is used to select the loaded version.
- Loading branch information
Showing
3 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: windows | ||
on: | ||
push: | ||
branches: | ||
- 'master-windows' | ||
paths: | ||
- 'action.yml' | ||
- 'README.md' | ||
- '.github/workflows/windows_long_test.yml' | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build | ||
runs-on: windows-latest | ||
steps: | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.22.x | ||
id: go | ||
|
||
- name: Build go from tip | ||
uses: iwdgo/gotip-build@master-windows | ||
id: gotip | ||
with: | ||
go_variables: $Env:GO_TEST_SHORT = 0; $Env:GO_TEST_TIMEOUT_SCALE = 5; $Env:GOROOT_BOOTSTRAP = 'C:\hostedtoolcache\windows\go\1.22.8\x64\' | ||
|
||
- name: Upload go executable | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: gotip-${{ runner.os }}-${{ runner.arch }} | ||
path: .\go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters