Skip to content

Commit

Permalink
Merge pull request #41 from UbiqueInnovation/bugfix/build-cache
Browse files Browse the repository at this point in the history
Disable MinIO cache and add clean before build
  • Loading branch information
tabere-ubique authored Sep 25, 2024
2 parents 60b48fc + a2afcdf commit 82d4d2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android_build_linth_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:

- name: Cache Gradle packages on self-hosted MinIO
uses: tespkg/[email protected]
if: false # Disabled for now to test if it's faster without it
with:
endpoint: ${{ inputs.self_hosted_cache_endpoint }}
port: ${{ inputs.self_hosted_cache_port }}
Expand Down Expand Up @@ -151,7 +152,7 @@ jobs:
cache-disabled: true
build-root-directory: ${{ inputs.workingDirectory }}
arguments: |
:${{ inputs.appModule }}:uploadToLinth${{ steps.vars.outputs.flavor_capitalized }}Release
:${{ inputs.appModule }}:clean :${{ inputs.appModule }}:uploadToLinth${{ steps.vars.outputs.flavor_capitalized }}Release
-PubiqueMavenUrl=${{ secrets.UB_ARTIFACTORY_URL_ANDROID }}
-PubiqueMavenRootUrl=${{ secrets.UB_ARTIFACTORY_URL }}
-PubiqueMavenRepoName=${{ secrets.UB_ARTIFACTORY_REPO_ANDROID }}
Expand All @@ -162,7 +163,6 @@ jobs:
-Pbuild_id=${{ steps.vars.outputs.build_id }}
-Pbuild_number=${{ steps.vars.outputs.build_number }}
-Pbranch=${{ github.ref_name }}
--build-cache
${{ secrets.ADDITIONAL_GRADLE_PROPS }}
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/android_build_ubdiag_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:

- name: Cache Gradle packages on self-hosted MinIO
uses: tespkg/[email protected]
if: false # Disabled for now to test if it's faster without it
with:
endpoint: ${{ inputs.self_hosted_cache_endpoint }}
port: ${{ inputs.self_hosted_cache_port }}
Expand Down Expand Up @@ -143,7 +144,7 @@ jobs:
cache-disabled: true
build-root-directory: ${{ inputs.workingDirectory }}
arguments: |
:${{ inputs.appModule }}:assemble${{ steps.vars.outputs.flavor_capitalized }}Release
:${{ inputs.appModule }}:clean :${{ inputs.appModule }}:assemble${{ steps.vars.outputs.flavor_capitalized }}Release
-PubiqueMavenUrl=${{ secrets.UB_ARTIFACTORY_URL_ANDROID }}
-PubiqueMavenUser=${{ secrets.UB_ARTIFACTORY_USERNAME }}
-PubiqueMavenPass=${{ secrets.UB_ARTIFACTORY_PASSWORD }}
Expand All @@ -152,7 +153,6 @@ jobs:
-Pbuildnumber=${{ github.run_number }}
-Pubappid=${{ steps.vars.outputs.build_uuid }}
-Pwebicon=${{ steps.vars.outputs.web_icon }}
--build-cache
${{ secrets.ADDITIONAL_GRADLE_PROPS }}
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
Expand Down

0 comments on commit 82d4d2a

Please sign in to comment.