Skip to content

Commit 129d736

Browse files
committed
add uploading the kernel to the action for manual builds
1 parent d1001f1 commit 129d736

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- name: Maximize build space
2323
uses: ublue-os/remove-unwanted-software@v7
24-
24+
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
2727

@@ -35,7 +35,17 @@ jobs:
3535
local --arch "${{ matrix.arch }}" --with baseonly \
3636
--builddir build --buildrootdir buildroot
3737
38-
- name: Upload Kernel
38+
- name: Upload Kernel to action
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: kernel
42+
path: |
43+
.build-*.log
44+
${{ matrix.arch }}/kernel-*.rpm
45+
compression-level: 0 # already compressed
46+
47+
- name: Upload Kernel to release
48+
if: github.event_name == 'release'
3949
uses: softprops/action-gh-release@v2
4050
with:
4151
files: |

0 commit comments

Comments
 (0)