Skip to content

Commit

Permalink
Merge pull request #116 from velocitycareerlabs/VL-7885-fix-publishing-4
Browse files Browse the repository at this point in the history
Vl 7885 fix publishing 4
  • Loading branch information
michaelavoyan authored Jun 25, 2024
2 parents 0fc7069 + a4c4160 commit 1bb374a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/android-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ jobs:
run: ./gradlew assemble${{ env.RELEASE_TAG }}
env:
RELEASE_TAG: ${{ env.GLOBAL_ENV == 'prod' && format('{0}', 'Release' ) || 'Rc' }}
ANDROID_NEXUS_OSSRH_TOKEN_USERNAME: ${{ secrets.ANDROID_NEXUS_OSSRH_TOKEN_USERNAME }}
ANDROID_NEXUS_OSSRH_TOKEN_PASSWORD: ${{ secrets.ANDROID_NEXUS_OSSRH_TOKEN_PASSWORD }}
ANDROID_NEXUS_SIGNING_KEY_ID: ${{ secrets.ANDROID_NEXUS_SIGNING_KEY_ID }}
ANDROID_NEXUS_SIGNING_PASSWORD: ${{ secrets.ANDROID_NEXUS_SIGNING_PASSWORD }}
ANDROID_NEXUS_STAGING_PROFILE_ID: ${{ secrets.ANDROID_NEXUS_STAGING_PROFILE_ID }}
ANDROID_NEXUS_PRIVATE_KEY: ${{ secrets.ANDROID_NEXUS_PRIVATE_KEY }}
# Convert artifact to lowercase
- name: Rename artifact to lowercase
run: mv ${{ env.ARTIFACT_PATH}}/${{ env.PACKAGE_TYPE }}/VCL-${{ env.RELEASE_TAG }}.${{ env.PACKAGE_TYPE }} ${{ env.ARTIFACT_PATH }}/${{ env.PACKAGE_TYPE }}/vcl-${{ env.RELEASE_TAG }}.${{ env.PACKAGE_TYPE }}
Expand Down
6 changes: 3 additions & 3 deletions VCL/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ java {
}

/**
* Publish Android library to GitHub Packages ======================================================
*/
* Publish Android library ======================================================
*/
def getVersionName = { ->
return android.defaultConfig.versionName
}
Expand Down Expand Up @@ -224,7 +224,7 @@ repositories {
}
/**
* =================================================================================================
*/
*/

dependencies {
implementation 'androidx.core:core-ktx:1.12.0'
Expand Down

0 comments on commit 1bb374a

Please sign in to comment.