Skip to content

Commit f804390

Browse files
committed
feat: bundle nightly release with rusefi console
1 parent f3c0e04 commit f804390

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

.github/workflows/nightly-release.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
meta_info: ${{ matrix.meta-info }}
5656
push: 'false'
5757
run_simulator: 'false'
58-
artifacts: bin srec hex
58+
artifacts: bundle
5959
uploads: ''
6060
MY_REPO_PAT: ${{ secrets.MY_REPO_PAT }}
6161
ADDITIONAL_ENV: ${{ secrets.ADDITIONAL_ENV }}
@@ -68,30 +68,24 @@ jobs:
6868
steps:
6969
- uses: actions/checkout@v4
7070

71-
- name: Download all firmware artifacts
71+
- name: Download bundle artifacts
7272
uses: actions/download-artifact@v4
7373
with:
74-
path: release-assets/
74+
path: downloaded/
75+
pattern: 'rusefi_bundle_*'
7576

76-
- name: Rename artifacts with board names
77+
- name: Collect bundle ZIPs
7778
run: |
78-
mkdir -p firmware-files
79-
for dir in release-assets/*/; do
80-
name=$(basename "$dir")
81-
for file in "$dir"*; do
82-
[ -f "$file" ] || continue
83-
cp "$file" "firmware-files/$name"
84-
done
85-
done
86-
87-
- name: List release assets
88-
run: find firmware-files/ -type f | sort
79+
mkdir -p bundles
80+
find downloaded/ -name "*.zip" -exec cp {} bundles/ \;
81+
82+
- name: List bundles
83+
run: find bundles/ -type f | sort
8984

9085
- name: Read changelog
9186
id: changelog
9287
run: |
9388
if [ -f CHANGELOG.md ]; then
94-
# Extract the latest release section
9589
BODY=$(awk '/^## \[/{p++} p==1{print} p==2{exit}' CHANGELOG.md | tail -n +2)
9690
echo "body<<CHANGELOG_EOF" >> $GITHUB_OUTPUT
9791
echo "$BODY" >> $GITHUB_OUTPUT
@@ -118,11 +112,17 @@ jobs:
118112
- mazduino-mega100 (STM32F407VGT6, 1MB, full features, USB + CAN)
119113
- mazduino-mega100-512 (STM32F407VET6, 512KB, reduced feature set)
120114
121-
## Files
122-
- `.bin` - raw firmware binary (flash via ST-Link or DFU)
123-
- `.srec` - firmware with CRC checksum (flash via OpenBLT bootloader)
124-
- `.hex` - Intel HEX format
115+
## Bundle contents
116+
Each `.zip` contains:
117+
- `rusefi_console.jar` - rusEFI desktop application (requires Java 11+)
118+
- `rusefi_<board>.ini` - TunerStudio definition file
119+
- `rusefi.bin` - firmware binary (flash via ST-Link or DFU)
120+
- Flash scripts (`flash_dfu.sh`, `flash_stlink.sh`)
121+
122+
## Flashing
123+
- ST-Link / SWD: run `flash_stlink.sh` or use STM32CubeProgrammer with `rusefi.bin`
124+
- USB DFU: hold BOOT0, then run `flash_dfu.sh`
125125
126-
## TunerStudio Connection
127-
Connect via USB virtual COM port (all boards except mega100 variants which use CAN bus).
128-
files: firmware-files/*
126+
## TunerStudio
127+
Launch `rusefi_console.jar` or open TunerStudio and point it to the `.ini` file for your board.
128+
files: bundles/*

0 commit comments

Comments
 (0)