Skip to content

Commit 0285f6d

Browse files
Tejasgargbessman
authored andcommitted
fix: fetch bootloader from releases
1 parent 6ee7c6f commit 0285f6d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/main-builder.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,13 @@ jobs:
6565
cmake .. ${{ matrix.cmake_flags}}
6666
make
6767
68-
- name: Build bootloader
68+
- name: Fetch bootloader
6969
run: |
7070
git clone https://github.com/fossasia/pslab-bootloader.git pslab-bootloader
7171
cd pslab-bootloader
72-
git submodule init
73-
git submodule update
7472
mkdir build
7573
cd build
76-
cmake ..
77-
make
74+
wget https://github.com/fossasia/pslab-bootloader/releases/latest/download/pslab-bootloader.hex
7875
7976
- name: Download XC8 Compiler
8077
if: steps.cache-compiler.outputs.cache-hit != 'true'
@@ -90,7 +87,7 @@ jobs:
9087
sudo ./xc8-v3.00-full-install-linux-x64-installer.run --mode unattended --netservername dontknow
9188
echo "/opt/microchip/xc8/v3.00/pic/bin" >> $GITHUB_PATH
9289
93-
- name: Combining hex files
90+
- name: Combine hex files
9491
run: |
9592
mv ${{ matrix.branch }}/build_${{ matrix.target }}/pslab-firmware.hex pslab-bootloader/build/pslab-firmware.hex
9693
cd pslab-bootloader

0 commit comments

Comments
 (0)