Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
roniwae authored Dec 12, 2023
1 parent 7bf67aa commit 4f423a6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}

0 comments on commit 4f423a6

Please sign in to comment.