From c6325cd04c7e1c4623173039865f96c9a83738c9 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 3 Dec 2023 11:10:48 +0100 Subject: [PATCH] zip after getting performance files --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce18a08..56ef1fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,13 +67,15 @@ jobs: echo "usbspeed=full" > sdcard/cmdline.txt cd sdcard 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 - - name: Get performance files 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 - - uses: actions/upload-artifact@v3 with: name: ${{ env.artifactName }} # Exported above