Keep all build artifacts

Also those on the master branch
https://github.com/probonopd/MiniDexed/issues/140#issuecomment-1106752484
pull/142/head
probonopd 3 years ago committed by GitHub
parent 469ef79fa5
commit 625a250948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/build.yml

@ -69,11 +69,11 @@ jobs:
cd sdcard
cp ../kernels/* . || true
zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d).zip *
echo "artifactName=MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d).zip" >> $GITHUB_ENV
- 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: ${{ env.artifactName }} # Exported above
path: ./sdcard/*
- name: Upload to GitHub Releases (only when building from main branch)
if: ${{ github.ref == 'refs/heads/main' }}
run: |

Loading…
Cancel
Save