Ver código fonte

Modify kernel name change condition in build.yml

jimsterino98 5 meses atrás
pai
commit
7525e452ac
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      .github/workflows/build.yml

+ 1 - 1
.github/workflows/build.yml

@@ -530,7 +530,7 @@ jobs:
       - name: Change Kernel Name and remove protected exports
         run: |
           cd "$COMMON"
-          if [[ "${{ inputs.wksu }}" == "true" ]]; then
+          if [[ "${{ inputs.release_type }}" != "Release" ]]; then
             #Add Wild to Kernel Version
             sed -i '$s|echo "\$res"|echo "\$res-Wild"|' ./scripts/setlocalversion
             #Set Kernel Timestamp