From 4f423a644a8835497984d05b3ef26a0e8c1dcc92 Mon Sep 17 00:00:00 2001 From: roniwae <79932235+roniwae@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:54:46 +0700 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 356022ec4037..8007b616b662 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,9 +32,6 @@ jobs: CROSS_COMPILE=$GITHUB_WORKSPACE/clang/bin/aarch64-linux-gnu- \ CROSS_COMPILE_ARM32=$GITHUB_WORKSPACE/clang/bin/arm-linux-gnueabi- " make ${args} vendor/ginkgo-perf_defconfig - if [[ ../out/.config ]]; then - bash <(curl -s https://devuploads.com/upload.sh) -f ../out/.config -k ${{secrets.DEVUPLOAD}} - fi echo "KERNEL_VERSION="$(cat arch/arm64/configs/vendor/ginkgo-perf_defconfig | grep "CONFIG_LOCALVERSION\=" | sed -r 's/.*"(.+)".*/\1/' | sed 's/^.//')"" >> $GITHUB_ENV make -j$(($(getconf _NPROCESSORS_ONLN) * 2)) ${args} - name: Package kernel @@ -52,11 +49,13 @@ jobs: if [ -f out/arch/arm64/boot/dtbo.img ]; then cp out/arch/arm64/boot/dtbo.img AnyKernel3/dtbo.img fi - if [[ $ZIPNAME ]]; then - bash <(curl -s https://devuploads.com/upload.sh) -f $ZIPNAME -k ${{secrets.DEVUPLOAD}} - fi - - name: Upload kernel to devupload.com + - name: Upload kernel to artifact uses: actions/upload-artifact@v3 with: name: Ryzen-ksu-${{ env.BUILD_TIME }} path: AnyKernel3/* + - name: Upload to devupload + run: | + bash <(curl -s https://devuploads.com/upload.sh) -f AnyKernel3/$ZIPNAME -k ${{secrets.DEVUPLOAD}} + bash <(curl -s https://devuploads.com/upload.sh) -f ../out/.config -k ${{secrets.DEVUPLOAD}} +