Skip to content

Commit fe6ffb5

Browse files
Fix kernel version path in Makefile CI workflow
1 parent 0220db1 commit fe6ffb5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/makefile.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Makefile CI
22

33
env:
4-
VERSION: linux-6.16.2
4+
VERSION: 6.16.2
55

66
on:
77
push:
@@ -25,14 +25,14 @@ jobs:
2525
# https://kernel.org
2626
- name: Download
2727
if: steps.cache-kernel.outputs.cache-hit != 'true'
28-
run: wget https://cdn.kernel.org/pub/linux/kernel/v6.x/${{ env.VERSION }}.tar.xz
28+
run: wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${{ env.VERSION }}.tar.xz
2929

3030
# https://docs.kernel.org/admin-guide/README.html#installing-the-kernel-source
3131
- name: Install the kernel source
3232
if: steps.cache-kernel.outputs.cache-hit != 'true'
3333
run: |
34-
xz -cd ${{ env.VERSION }}.tar.xz | tar xvf -
35-
cd ${{ env.VERSION }}
34+
xz -cd linux-${{ env.VERSION }}.tar.xz | tar xvf -
35+
cd linux-${{ env.VERSION }}
3636
make mrproper
3737
3838
- name: Install libelf-dev
@@ -41,7 +41,7 @@ jobs:
4141
# https://docs.kernel.org/admin-guide/README.html#build-directory-for-the-kernel
4242
- name: Configure and build the kernel
4343
run: |
44-
cd ${{ env.VERSION }}
44+
cd linux-${{ env.VERSION }}
4545
make defconfig
4646
make
4747
make INSTALL_MOD_PATH=${{ github.workspace }}/iso/boot INSTALL_PATH=${{ github.workspace }}/iso/boot modules_install install

0 commit comments

Comments
 (0)