chore: force frontend dependency reinstall for arm64 and update binary path in build workflow
Build and Upload Binaries / build-and-upload (push) Has been cancelled
Build and Upload Binaries / build-and-upload (push) Has been cancelled
This commit is contained in:
@@ -55,13 +55,17 @@ jobs:
|
||||
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
|
||||
apt-get install -y nodejs
|
||||
|
||||
# Re-install frontend dependencies for arm64 (clears out the amd64 esbuild binary)
|
||||
rm -rf frontend/node_modules
|
||||
cd frontend && npm install && cd ..
|
||||
|
||||
# Install Wails CLI
|
||||
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||
export PATH=\"\$PATH:\$(go env GOPATH)/bin\"
|
||||
|
||||
# Linux arm64
|
||||
wails build -platform linux/arm64 -tags webkit2_41 -clean
|
||||
cp build/bin/goexplore dist/goexplore-linux-arm64
|
||||
cp build/bin/goexplore-init dist/goexplore-linux-arm64
|
||||
"
|
||||
|
||||
- name: Upload to Cloudflare R2
|
||||
|
||||
Reference in New Issue
Block a user