diff --git a/.github/.cache_version b/.github/.cache_version index 9fe9ff9d996..a8907c025d5 100644 --- a/.github/.cache_version +++ b/.github/.cache_version @@ -1 +1 @@ -7.0.1 +7.0.2 diff --git a/.github/actions/cache/action.yml b/.github/actions/cache/action.yml index cd444f6df5c..96a82e4f9e1 100644 --- a/.github/actions/cache/action.yml +++ b/.github/actions/cache/action.yml @@ -367,7 +367,9 @@ runs: if: ${{ inputs.job == 'cts' || inputs.job == 'codegen' }} uses: actions/cache@v2 with: - path: clients/algoliasearch-client-php + path: | + 'clients/algoliasearch-client-php/lib/Api/SearchApi.php' + 'clients/algoliasearch-client-php/lib/Configuration/SearchConfig.php' key: | ${{ env.CACHE_VERSION }}-${{ hashFiles( @@ -382,7 +384,9 @@ runs: if: ${{ inputs.job == 'cts' || inputs.job == 'codegen' }} uses: actions/cache@v2 with: - path: clients/algoliasearch-client-php + path: | + 'clients/algoliasearch-client-php/lib/Api/RecommendApi.php' + 'clients/algoliasearch-client-php/lib/Configuration/RecommendConfig.php' key: | ${{ env.CACHE_VERSION }}-${{ hashFiles( @@ -397,7 +401,9 @@ runs: if: ${{ inputs.job == 'cts' || inputs.job == 'codegen' }} uses: actions/cache@v2 with: - path: clients/algoliasearch-client-php + path: | + 'clients/algoliasearch-client-php/lib/Api/PersonalizationApi.php' + 'clients/algoliasearch-client-php/lib/Configuration/PersonalizationConfig.php' key: | ${{ env.CACHE_VERSION }}-${{ hashFiles( @@ -412,7 +418,9 @@ runs: if: ${{ inputs.job == 'cts' || inputs.job == 'codegen' }} uses: actions/cache@v2 with: - path: clients/algoliasearch-client-php + path: | + 'clients/algoliasearch-client-php/lib/Api/AnalyticsApi.php' + 'clients/algoliasearch-client-php/lib/Configuration/AnalyticsApi.php' key: | ${{ env.CACHE_VERSION }}-${{ hashFiles( @@ -427,7 +435,9 @@ runs: if: ${{ inputs.job == 'cts' || inputs.job == 'codegen' }} uses: actions/cache@v2 with: - path: clients/algoliasearch-client-php + path: | + 'clients/algoliasearch-client-php/lib/Api/InsightsApi.php' + 'clients/algoliasearch-client-php/lib/Configuration/InsightsConfig.php' key: | ${{ env.CACHE_VERSION }}-${{ hashFiles( @@ -442,12 +452,14 @@ runs: if: ${{ inputs.job == 'cts' || inputs.job == 'codegen' }} uses: actions/cache@v2 with: - path: clients/algoliasearch-client-php + path: | + 'clients/algoliasearch-client-php/lib/Api/AbtestingApi.php' + 'clients/algoliasearch-client-php/lib/Configuration/AbtestingConfig.php' key: | ${{ env.CACHE_VERSION }}-${{ hashFiles( - 'clients/algoliasearch-client-php/lib/Api/AbTestingApi.php', - 'clients/algoliasearch-client-php/lib/Configuration/AbTestingConfig.php', + 'clients/algoliasearch-client-php/lib/Api/AbtestingApi.php', + 'clients/algoliasearch-client-php/lib/Configuration/AbtestingConfig.php', 'specs/bundled/abtesting.yml', 'templates/php/**', 'generators/src/**' @@ -457,7 +469,9 @@ runs: if: ${{ inputs.job == 'cts' || inputs.job == 'codegen' }} uses: actions/cache@v2 with: - path: clients/algoliasearch-client-php + path: | + 'clients/algoliasearch-client-php/lib/Api/QuerySuggestionsApi.php' + 'clients/algoliasearch-client-php/lib/Configuration/QuerySuggestionsConfig.php' key: | ${{ env.CACHE_VERSION }}-${{ hashFiles( diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index e1e445bef8f..e39f21abc79 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -289,7 +289,9 @@ jobs: id: cache uses: actions/cache@v2 with: - path: ${{ matrix.client.folder }} + path: | + ${{ format('{0}/lib/Api/{1}.php', matrix.client.folder, matrix.client.api) }} + ${{ format('{0}/lib/Configuration/{1}.php', matrix.client.folder, matrix.client.config) }} key: | ${{ env.CACHE_VERSION }}-${{ hashFiles( diff --git a/openapitools.json b/openapitools.json index 4e23ce7e553..7c303bd421d 100644 --- a/openapitools.json +++ b/openapitools.json @@ -366,7 +366,7 @@ "invokerPackage": "Algolia\\AlgoliaSearch", "globalProperty": "apis,supportingFiles", "additionalProperties": { - "configClassname": "AbTestingConfig", + "configClassname": "AbtestingConfig", "hasRegionalHost": true, "allowedRegions": "us-de", "variableNamingConvention": "camelCase",