diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca76f8a..4299396 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: | diff --git a/hwconfig/DT-DX.override b/hwconfig/DT-DX.override index 1e6ba75..f27c4e6 100644 --- a/hwconfig/DT-DX.override +++ b/hwconfig/DT-DX.override @@ -2,7 +2,7 @@ # https://www.dtronics.nl/dt-dx SoundDevice=i2s -SampleRate=22000 +SampleRate=48000 ChunkSize=256 DACI2CAddress=0x0 ChannelsSwapped=1 @@ -43,4 +43,4 @@ LongPressTimeout=400 EncoderEnabled=1 EncoderPinClock=6 -EncoderPinData=5 \ No newline at end of file +EncoderPinData=5