diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ce341770..03c7ce7d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,6 +110,17 @@ jobs: MACOS_NOTARY_KEY_ID: ${{ secrets.MACOS_NOTARY_KEY_ID }} MACOS_NOTARY_KEY: ${{ secrets.MACOS_NOTARY_KEY }} + - name: Build and upload Android arm64 + shell: bash + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + sudo apt-get install -y zip + make build-all-android + gh release upload "${{ inputs.tag }}" \ + build/picoclaw-android-universal.zip \ + --clobber + - name: Apply release flags shell: bash env: diff --git a/Makefile b/Makefile index ef0dcd9b1..1cc853458 100644 --- a/Makefile +++ b/Makefile @@ -260,6 +260,7 @@ build-all: generate GOOS=windows GOARCH=amd64 $(GO) build $(GOFLAGS) -ldflags "$(LDFLAGS)" -o $(BUILD_DIR)/$(BINARY_NAME)-windows-amd64.exe ./$(CMD_DIR) GOOS=netbsd GOARCH=amd64 $(GO) build $(GOFLAGS) -ldflags "$(LDFLAGS)" -o $(BUILD_DIR)/$(BINARY_NAME)-netbsd-amd64 ./$(CMD_DIR) GOOS=netbsd GOARCH=arm64 $(GO) build $(GOFLAGS) -ldflags "$(LDFLAGS)" -o $(BUILD_DIR)/$(BINARY_NAME)-netbsd-arm64 ./$(CMD_DIR) + @$(MAKE) build-all-android @echo "All builds complete" ## install: Install picoclaw to system and copy builtin skills