🐛 fix(capacitor-android): il wrapper gradle riceve il bit che Windows non gli da
- Aggiunto lo step "Rendi eseguibile gradlew" prima dei build APK e AAB - Allineati capacitor-android.yml e la variante GitHub Fixes #6 @1h30m
This commit is contained in:
@@ -189,6 +189,13 @@ jobs:
|
|||||||
if: inputs.build-type == 'release'
|
if: inputs.build-type == 'release'
|
||||||
run: echo '${{ secrets.KEYSTORE_BASE64 }}' | base64 -d > android/app/keystore.jks
|
run: echo '${{ secrets.KEYSTORE_BASE64 }}' | base64 -d > android/app/keystore.jks
|
||||||
|
|
||||||
|
# Il wrapper arriva dal repo senza bit di esecuzione quando il progetto e'
|
||||||
|
# committato da Windows: git registra mode 100644 e il checkout sul runner
|
||||||
|
# Linux produce "./gradlew: Permission denied". Il chmod qui vale per ogni
|
||||||
|
# repo Capacitor, cosi' il difetto non va rincorso uno per uno.
|
||||||
|
- name: Rendi eseguibile gradlew
|
||||||
|
run: chmod +x android/gradlew
|
||||||
|
|
||||||
- name: Build Android (APK)
|
- name: Build Android (APK)
|
||||||
if: inputs.output-format == 'apk'
|
if: inputs.output-format == 'apk'
|
||||||
working-directory: android
|
working-directory: android
|
||||||
|
|||||||
@@ -189,6 +189,13 @@ jobs:
|
|||||||
if: inputs.build-type == 'release'
|
if: inputs.build-type == 'release'
|
||||||
run: echo '${{ secrets.KEYSTORE_BASE64 }}' | base64 -d > android/app/keystore.jks
|
run: echo '${{ secrets.KEYSTORE_BASE64 }}' | base64 -d > android/app/keystore.jks
|
||||||
|
|
||||||
|
# Il wrapper arriva dal repo senza bit di esecuzione quando il progetto e'
|
||||||
|
# committato da Windows: git registra mode 100644 e il checkout sul runner
|
||||||
|
# Linux produce "./gradlew: Permission denied". Il chmod qui vale per ogni
|
||||||
|
# repo Capacitor, cosi' il difetto non va rincorso uno per uno.
|
||||||
|
- name: Rendi eseguibile gradlew
|
||||||
|
run: chmod +x android/gradlew
|
||||||
|
|
||||||
- name: Build Android (APK)
|
- name: Build Android (APK)
|
||||||
if: inputs.output-format == 'apk'
|
if: inputs.output-format == 'apk'
|
||||||
working-directory: android
|
working-directory: android
|
||||||
|
|||||||
Reference in New Issue
Block a user