Do not put directory into zip

pull/4/head
probonopd 3 years ago committed by GitHub
parent 79d5f9eb2c
commit 05c0019553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/build.yml

@ -50,7 +50,8 @@ jobs:
mv sdcard/config64.txt sdcard/config.txt mv sdcard/config64.txt sdcard/config.txt
rm -rf sdcard/config32.txt sdcard/README sdcard/Makefile sdcard/armstub sdcard/COPYING.linux rm -rf sdcard/config32.txt sdcard/README sdcard/Makefile sdcard/armstub sdcard/COPYING.linux
cp ./src/*img sdcard/ cp ./src/*img sdcard/
zip -r MiniDexed_Raspberry_Pi_4.zip sdcard/* cd sdcard
zip -r ../MiniDexed_Raspberry_Pi_4.zip *
- name: Upload to GitHub Releases (only when building from main branch) - name: Upload to GitHub Releases (only when building from main branch)
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}
run: | run: |

Loading…
Cancel
Save