We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d44b5a commit 47ba1d3Copy full SHA for 47ba1d3
.github/workflows/kernels.yml
@@ -56,6 +56,8 @@ jobs:
56
- name: Build needed kernels
57
run: |
58
while IFS= read -r version; do
59
+ # If there's no diff, there will be a single empty version
60
+ [[ -n "$version" ]] || continue
61
echo "Building: ${version}"
62
./build.sh "$version"
63
done <<< "${{ steps.calculate.outputs.NEEDED_KERNELS }}"
@@ -64,6 +66,9 @@ jobs:
64
66
env:
65
67
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68
69
+ # If there's no diff, make glob expand to empty
70
+ shopt -s nullglob
71
+
72
for kernel in linux-*; do
73
gh release upload assets "$kernel"
74
done
0 commit comments