|
|
@@ -92,46 +92,11 @@ jobs:
|
|
|
branch: ${{ inputs.branch }}
|
|
|
|
|
|
- name: Set Path Environment Variables
|
|
|
- run: |
|
|
|
- ROOT="$GITHUB_WORKSPACE"
|
|
|
- if [[ ${{ inputs.susfs }} == 'true' ]]; then
|
|
|
- SUSFS4KSU="$ROOT/susfs4ksu"
|
|
|
- KERNEL_PATCHES="$ROOT/kernel_patches"
|
|
|
- echo "SUSFS4KSU=$SUSFS4KSU" >> $GITHUB_ENV
|
|
|
- echo "KERNEL_PATCHES=$KERNEL_PATCHES" >> $GITHUB_ENV
|
|
|
- fi
|
|
|
- ANYKERNEL3="$ROOT/AnyKernel3"
|
|
|
- if [[ ${{ inputs.zeromount }} == 'true' ]]; then
|
|
|
- ZEROMOUNT="$ROOT/Super-Builders"
|
|
|
- echo "ZEROMOUNT=$ZEROMOUNT" >> $GITHUB_ENV
|
|
|
- fi
|
|
|
-
|
|
|
- if [[ ${{ inputs.branch }} == SM-A546* || "${{ inputs.branch }}" == "SM-M146B-Oneui7-ADYJ2" || "${{ inputs.branch }}" == "SM-S908B-Oneui8-bitK" ]]; then
|
|
|
- COMMON="$CONFIG"
|
|
|
- elif [[ "${{ inputs.branch }}" == "SM-A566B" || ${{ inputs.branch }} == SM-A055* ]]; then
|
|
|
- COMMON="$CONFIG/kernel-6.6"
|
|
|
- elif [[ "${{ inputs.branch }}" == "SM-S926B-Oneui8" || ${{ inputs.branch }} == SM-A556* ]]; then
|
|
|
- COMMON="$CONFIG/kernel"
|
|
|
- else
|
|
|
- COMMON="$CONFIG/kernel_platform/common"
|
|
|
- fi
|
|
|
-
|
|
|
- if [[ "${{ inputs.branch }}" == "SM-A546B-Oneui7" || "${{ inputs.branch }}" == "SM-A546B-Oneui8" ]]; then
|
|
|
- GKI_DEFCONFIG="$COMMON/arch/arm64/configs/s5e8835-a54xnaxx_defconfig"
|
|
|
- elif [[ "${{ inputs.branch }}" == "SM-A546E-Oneui7" || "${{ inputs.branch }}" == "SM-A546E-Oneui8" ]]; then
|
|
|
- GKI_DEFCONFIG="$COMMON/arch/arm64/configs/s5e8835-a54xnsxx_defconfig"
|
|
|
- elif [[ "${{ inputs.branch }}" == "SM-M146B-Oneui7-ADYJ2" ]]; then
|
|
|
- GKI_DEFCONFIG="$COMMON/arch/arm64/configs/s5e8535-m14xnsxx_defconfig"
|
|
|
- elif [[ "${{ inputs.branch }}" == "SM-S908B-Oneui8-bitK" ]]; then
|
|
|
- GKI_DEFCONFIG="$COMMON/arch/arm64/configs/s5e9925-b0sxxx_defconfig"
|
|
|
- else
|
|
|
- GKI_DEFCONFIG="$COMMON/arch/arm64/configs/gki_defconfig"
|
|
|
- fi
|
|
|
-
|
|
|
- echo "ROOT=$ROOT" >> $GITHUB_ENV
|
|
|
- echo "ANYKERNEL3=$ANYKERNEL3" >> $GITHUB_ENV
|
|
|
- echo "COMMON=$COMMON" >> $GITHUB_ENV
|
|
|
- echo "GKI_DEFCONFIG=$GKI_DEFCONFIG" >> $GITHUB_ENV
|
|
|
+ uses: ./.github/actions/env-variables
|
|
|
+ with:
|
|
|
+ branch: ${{ inputs.branch }}
|
|
|
+ susfs: ${{ inputs.susfs }}
|
|
|
+ zeromount: ${{ inputs.zeromount }}
|
|
|
|
|
|
- name: Extract all tar.xz files and delete them
|
|
|
run: |
|