Open xxbokusu opened 10 months ago
$ go run ./tool build
asset.go:22:12: pattern resources: cannot embed directory resources: contains no embeddable files
build: go build: exit status 1
exit status 1
embedってなんだったっけ https://kazuhira-r.hatenablog.com/entry/2021/03/27/004043
さて https://github.com/xxbokusu/publish_magnet-go/actions/runs/6620904373/job/17984091079#step:3:14
Run actions/setup-go@v4 with: go-version: ^1.21 check-latest: false token: *** cache: true Setup go version spec ^1.21 Found in cache @ /opt/hostedtoolcache/go/1.21.3/x64 Added go to the path Successfully set up Go version ^1.21 go: downloading go1.23 (linux/amd64) go: download go1.23 for linux/amd64: toolchain not available Error: Command failed: go env GOPATH go: downloading go1.23 (linux/amd64) go: download go1.23 for linux/amd64: toolchain not available
https://github.com/actions/setup-go ver.指定で試してみた方がいいのかな
ver.指定は間違ってないけどどこかで1.23をDLしに行って落ちてる?
Run actions/setup-go@v4
with:
go-version: 1.[2](https://github.com/xxbokusu/publish_magnet-go/actions/runs/6647827722/job/18063897941#step:3:2)1.[3](https://github.com/xxbokusu/publish_magnet-go/actions/runs/6647827722/job/18063897941#step:3:3)
check-latest: false
token: ***
cache: true
Setup go version spec 1.21.3
Found in cache @ /opt/hostedtoolcache/go/1.21.3/x6[4](https://github.com/xxbokusu/publish_magnet-go/actions/runs/6647827722/job/18063897941#step:3:4)
Added go to the path
Successfully set up Go version 1.21.3
go: downloading go1.23 (linux/amd[6](https://github.com/xxbokusu/publish_magnet-go/actions/runs/6647827722/job/18063897941#step:3:6)4)
go: download go1.23 for linux/amd64: toolchain not available
Error: Command failed: go env GOPATH
go: downloading go1.23 (linux/amd64)
go: download go1.23 for linux/amd64: toolchain not available
あー、意図して試しにignoreしたresourceが引っかかってるか
ほい https://github.com/xxbokusu/publish_magnet-go/commit/360da2f6ed6179c4565343069ba7dc5f8d7a76b2
https://github.com/eihigh/wasmgame ↑を活用させてもろて。
公開するゲームは前にEbiten GameJamで作ったやつがあるから試すだけなら一瞬でしょう https://github.com/xxbokusu/ebiten_gj202206