Skip to content

Commit

Permalink
Replace linth workflow input projectKey with more appropriately named…
Browse files Browse the repository at this point in the history
… cacheKexPrefix
  • Loading branch information
M-Wong committed Sep 18, 2024
1 parent 1454060 commit a8dba77
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/android_build_linth_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Build and Upload to Linth
on:
workflow_call:
inputs:
projectKey:
type: string
required: true
flavor:
type: string
required: true
Expand All @@ -22,6 +19,10 @@ on:
default: './'
required: false
description: 'The working directory of the script, for projects where the gradle project is not in the root folder. Must end with a slash.'
cacheKeyPrefix:
type: string
required: false
default: ${{ github.repository }}
self_hosted_cache_endpoint:
required: false
default: 'truenas.local.lan'
Expand Down Expand Up @@ -132,9 +133,9 @@ jobs:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: cimg-android-${{ inputs.projectKey }}-${{inputs.flavor}}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
key: cimg-android-${{ inputs.cacheKeyPrefix }}-${{inputs.flavor}}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
cimg-android-${{ inputs.projectKey }}-gradle-
cimg-android-${{ inputs.cacheKeyPrefix }}-gradle-
# Setup rust Tool Chain
- name: Setup rust Tool Chain
Expand Down

0 comments on commit a8dba77

Please sign in to comment.