zip after getting performance files

pull/593/head
probonopd 12 months ago committed by GitHub
parent a8fed895cb
commit c6325cd04c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/build.yml

@ -67,13 +67,15 @@ jobs:
echo "usbspeed=full" > sdcard/cmdline.txt echo "usbspeed=full" > sdcard/cmdline.txt
cd sdcard cd sdcard
cp ../kernels/* . || true cp ../kernels/* . || true
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 - cd -
- name: Get performance files - name: Get performance files
run: | run: |
git clone https://github.com/Banana71/Soundplantage --depth 1 # depth 1 means only the latest commit git clone https://github.com/Banana71/Soundplantage --depth 1 # depth 1 means only the latest commit
cp -r ./Soundplantage/performance ./Soundplantage/*.pdf ./sdcard/ 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 -
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: ${{ env.artifactName }} # Exported above name: ${{ env.artifactName }} # Exported above

Loading…
Cancel
Save