|
|
@ -68,9 +68,15 @@ jobs: |
|
|
|
cd sdcard |
|
|
|
cd sdcard |
|
|
|
cp ../kernels/* . || true |
|
|
|
cp ../kernels/* . || true |
|
|
|
zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d).zip * |
|
|
|
zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d).zip * |
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
|
|
|
|
if: ${{ github.ref != 'refs/heads/main' }} |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: Upload to GitHub Artifacts (when not building from main branch) |
|
|
|
|
|
|
|
path: ./MiniDexed*.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: | |
|
|
|
set -ex |
|
|
|
set -ex |
|
|
|
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh |
|
|
|
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh |
|
|
|
bash ./upload.sh ./MiniDexed*.zip |
|
|
|
bash ./upload.sh ./MiniDexed*.zip |
|
|
|
|
|
|
|
|
|
|
|