Skip to content

Commit

Permalink
.github: workflows: remove go version spec
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 committed Jul 26, 2023
1 parent 63d821d commit 519c86f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ jobs:
.\build.bat all
move out out_amd64
echo Download golang 1.20
go get golang.org/dl/go1.20
go1.20 download
echo ARM64 build
$Env:GOBIN="go1.20"
$Env:GOARCH="arm64"
.\build.bat all
move out out_arm64
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ jobs:
- name: Build
run: |
$Env:PATH = "${Env:USERPROFILE}\go\bin;${Env:PATH}"
go get golang.org/dl/go1.20
go1.20 download
$short_sha = $env:GITHUB_SHA.SubString(0, 7)
$Env:GO_BUILD_OPTS = "-ldflags `"-X github.com/yuk7/wsldl/version.version=CI-${short_sha}`""
$Env:GOBIN="go1.20"
$Env:GOARCH="arm64"
.\build.bat all
Compress-Archive -Path .\out\icons\* -DestinationPath .\out\icons.zip
Expand Down

0 comments on commit 519c86f

Please sign in to comment.