Skip to content

feat: add CAN scan command to discover JK BMS devices #12

feat: add CAN scan command to discover JK BMS devices

feat: add CAN scan command to discover JK BMS devices #12

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build multi-arch
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build for all platforms
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/386
outputs: type=local,dest=./output
- name: List built binaries
run: |
find ./output -type f -name "jktool" -exec ls -lh {} \;
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: jktool-binaries
path: ./output/
retention-days: 30