mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
Update build-kernel.yml
This commit is contained in:
8
.github/workflows/build-kernel.yml
vendored
8
.github/workflows/build-kernel.yml
vendored
@@ -267,10 +267,18 @@ jobs:
|
||||
if [[ $? -eq 0 ]]; then
|
||||
sudo mkdir -p ../build-kernel
|
||||
cp cache/hash-beta/*.git* ../build-kernel/ 2> /dev/null || true
|
||||
echo "FILE_HASH=$(ls -1 cache/hash-beta/*.githash | head -1)" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
echo "FILE_NAME=${BRANCH}-${FAMILY}" >> $GITHUB_ENV
|
||||
echo "UPLOAD=true" >> $GITHUB_ENV
|
||||
|
||||
- name: Upload hash
|
||||
if: ${{ env.UPLOAD == 'true' }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: hash
|
||||
path: build/${{ env.FILE_HASH }}
|
||||
|
||||
- name: Upload build artifacts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user