diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2404f75..113e57e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,9 +68,15 @@ jobs: cd sdcard cp ../kernels/* . || true 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) if: ${{ github.ref == 'refs/heads/main' }} run: | set -ex wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh bash ./upload.sh ./MiniDexed*.zip +