.
This commit is contained in:
10
.github/workflows/publish-android.yml
vendored
10
.github/workflows/publish-android.yml
vendored
@@ -25,14 +25,7 @@ jobs:
|
|||||||
run: echo '${{ secrets.GPG_KEY_CONTENTS }}' | base64 -d > /tmp/secring.gpg
|
run: echo '${{ secrets.GPG_KEY_CONTENTS }}' | base64 -d > /tmp/secring.gpg
|
||||||
|
|
||||||
- name: Update gradle.properties
|
- name: Update gradle.properties
|
||||||
working-directory: ./target
|
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ inputs.version }}" ]; then
|
|
||||||
echo "VERSION_NAME=${{ inputs.version }}" >> gradle.properties
|
|
||||||
else
|
|
||||||
version = `echo "${{ github.ref }}" | sed -E 's/v(.+)/\1/'`
|
|
||||||
echo "VERSION_NAME=$version" >> gradle.properties
|
|
||||||
fi
|
|
||||||
echo "signing.secretKeyRingFile=/tmp/secring.gpg" >> gradle.properties
|
echo "signing.secretKeyRingFile=/tmp/secring.gpg" >> gradle.properties
|
||||||
echo "signing.keyId=${{ secrets.SIGNING_KEY_ID }}" >> gradle.properties
|
echo "signing.keyId=${{ secrets.SIGNING_KEY_ID }}" >> gradle.properties
|
||||||
echo "signing.password=${{ secrets.SIGNING_PASSWORD }}" >> gradle.properties
|
echo "signing.password=${{ secrets.SIGNING_PASSWORD }}" >> gradle.properties
|
||||||
@@ -40,10 +33,7 @@ jobs:
|
|||||||
echo "mavenCentralUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }}" >> gradle.properties
|
echo "mavenCentralUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }}" >> gradle.properties
|
||||||
|
|
||||||
- name: Upload Android archives
|
- name: Upload Android archives
|
||||||
working-directory: ./target
|
|
||||||
|
|
||||||
run: ./gradlew :yoga:assembleRelease publish --info
|
run: ./gradlew :yoga:assembleRelease publish --info
|
||||||
|
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
working-directory: ./target
|
|
||||||
run: ./gradlew closeAndReleaseRepository
|
run: ./gradlew closeAndReleaseRepository
|
||||||
|
@@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
// TODO Proguard consumers
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion rootProject.compileSdkVersion
|
compileSdkVersion rootProject.compileSdkVersion
|
||||||
buildToolsVersion rootProject.buildToolsVersion
|
buildToolsVersion rootProject.buildToolsVersion
|
||||||
@@ -47,10 +45,6 @@ android {
|
|||||||
manifest.srcFile 'AndroidManifest.xml'
|
manifest.srcFile 'AndroidManifest.xml'
|
||||||
res.srcDirs = ['res']
|
res.srcDirs = ['res']
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
|
||||||
java.srcDir 'tests'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,4 +0,0 @@
|
|||||||
Language: ObjC
|
|
||||||
|
|
||||||
# Yoga enums are conditionally compiled to NS_ENUM, forcing YGMacros.h to be interpreted as Objective C.
|
|
||||||
DisableFormat: true
|
|
Reference in New Issue
Block a user