Skip to content

Commit 9f9fc57

Browse files
authored
Update build-kernel-op12.yml
1 parent dd903b1 commit 9f9fc57

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build-kernel-op12.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
- name: Maximize build space
1212
uses: easimon/maximize-build-space@master
1313
with:
14-
root-reserve-mb: 16384 # 16 GB
15-
temp-reserve-mb: 4096 # 4 GB
16-
swap-size-mb: 16384 # 16 GB
14+
root-reserve-mb: 8192
15+
temp-reserve-mb: 4096
16+
swap-size-mb: 8192
1717
remove-dotnet: 'true'
1818
remove-android: 'true'
1919
remove-haskell: 'true'
@@ -166,6 +166,12 @@ jobs:
166166
# Run perl command to modify UTS_VERSION
167167
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Sat Apr 20 04:20:00 UTC 2024"}' ./common/scripts/mkcompile_h
168168
169+
- name: Upload oplus_setup.sh as artifact
170+
uses: actions/upload-artifact@v3
171+
with:
172+
name: oplus_setup_file # Name of the artifact
173+
path: ./$CONFIG/kernel_platform/oplus/build/oplus_setup.sh # Path to the file
174+
169175
- name: Build the Kernel
170176
run: |
171177
echo "Changing to configuration directory: $CONFIG..."

0 commit comments

Comments
 (0)