|
|
|
@ -81,10 +81,6 @@ jobs: |
|
|
|
|
run: | |
|
|
|
|
git clone https://github.com/Banana71/Soundplantage --depth 1 # depth 1 means only the latest commit |
|
|
|
|
cp -r ./Soundplantage/performance ./Soundplantage/*.pdf ./sdcard/ |
|
|
|
|
cd sdcard |
|
|
|
|
zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD).zip * |
|
|
|
|
echo "artifactName=MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV |
|
|
|
|
cd - |
|
|
|
|
- name: Hardware configration files |
|
|
|
|
run: | |
|
|
|
|
cd hwconfig |
|
|
|
@ -92,11 +88,17 @@ jobs: |
|
|
|
|
cd - |
|
|
|
|
mkdir -p ./sdcard/hardware/ |
|
|
|
|
cp -r ./hwconfig/minidexed_* ./sdcard/minidexed.ini ./sdcard/hardware/ |
|
|
|
|
- name: zip |
|
|
|
|
run: | |
|
|
|
|
cd sdcard |
|
|
|
|
zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD).zip * |
|
|
|
|
echo "artifactName=MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV |
|
|
|
|
cd - |
|
|
|
|
- uses: actions/upload-artifact@v4 |
|
|
|
|
with: |
|
|
|
|
name: ${{ env.artifactName }} # Exported above |
|
|
|
|
path: ./sdcard/* |
|
|
|
|
retention-days: 14 # To not exceed the free MB/month quota so quickly |
|
|
|
|
# retention-days: 14 # To not exceed the free MB/month quota so quickly |
|
|
|
|
- name: Upload to GitHub Releases (only when building from main branch) |
|
|
|
|
if: ${{ github.ref == 'refs/heads/main' }} |
|
|
|
|
run: | |
|
|
|
|