Skip to content

Commit 9201e73

Browse files
authored
full kernel version for zip name
full kernel version in the ak3 zip name
1 parent 8e1bf42 commit 9201e73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ runs:
350350
cd "$ARTIFACTS_DIR"
351351
echo "$ANDROID_VERSION-$FULL_VERSION" > ${{ inputs.model }}.txt
352352
echo "ANDROID_VER=$ANDROID_VERSION" >> $GITHUB_ENV
353+
echo "FULL_VER=$FULL_VERSION" >> $GITHUB_ENV
353354
354355
- name: Run sed and perl Commands
355356
shell: bash
@@ -495,7 +496,7 @@ runs:
495496
cp "$GITHUB_WORKSPACE/kernel_patches/oneplus/hmbird/bins/"* ./tools/
496497
patch -F 3 < "$GITHUB_WORKSPACE/kernel_patches/oneplus/hmbird/ak3_hmbird_patch.patch"
497498
fi
498-
ZIP_NAME="AnyKernel3_${{ inputs.model }}_${{ inputs.android_version }}-${{ inputs.kernel_version }}_Next_${{ env.KSUVER }}_SUSFS_${{ env.SUSVER }}.zip"
499+
ZIP_NAME="AnyKernel3_${{ inputs.model }}_${{ inputs.android_version }}-${{ env.FULL_VER }}_Next_${{ env.KSUVER }}_SUSFS_${{ env.SUSVER }}.zip"
499500
ARTIFACTS_DIR="$CONFIG_DIR/artifacts"
500501
echo "Creating zip file $ZIP_NAME in $ARTIFACTS_DIR..."
501502
zip -r "$ARTIFACTS_DIR/$ZIP_NAME" ./*

0 commit comments

Comments
 (0)