Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ jobs:
Set-Content -Path (Join-Path $workDir "main.go") -Value $main -Encoding utf8
go get github.com/monstercameron/GoWebComponents/v4@latest
if ($LASTEXITCODE -ne 0) { throw "go get GoWebComponents/v4@latest failed" }
# Populate go.sum for the full transitive closure so the consumer build resolves every
# dependency (go get of the module alone does not add transitive deps' go.sum entries).
go mod tidy
if ($LASTEXITCODE -ne 0) { throw "go mod tidy of consumer failed" }
go build ./...
if ($LASTEXITCODE -ne 0) { throw "native consumer build failed" }
$env:GOOS = "js"; $env:GOARCH = "wasm"
Expand Down
Loading