Upload SD card contents

pull/4/head
probonopd 2 years ago committed by GitHub
parent e13a7c2161
commit f8922061f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      .github/workflows/build.yml

@ -38,8 +38,20 @@ jobs:
cd src
make -j$(nproc)
ls *.img
- name: Get Raspberry Pi boot files
run: |
cd ./circle-stdlib/libs/circle/boot
make
make armstub
cd -
mkdir -p MiniDexed
cp -r ./circle-stdlib/libs/circle/boot/* MiniDexed
mv MiniDexed/config64.txt MiniDexed/config.txt
rm MiniDexed/config32.txt MiniDexed/README MiniDexed/Makefile
cp ./src/*img MiniDexed/
zip -r MiniDexed.zip MiniDexed/
- name: Upload to GitHub Releases (only when building from main branch)
if: ${{ github.ref == 'refs/heads/main' }}
run: |
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash ./upload.sh ./src/*img
bash ./upload.sh ./MiniDexed.zip

Loading…
Cancel
Save