Add support for JetBrains' Amper build/cache

The Amper build system uses `.cache/Amper/` for its dependencies, and
also (currently) uses some `.gradle/` folders for Android builds.
This commit is contained in:
Salvatore Testa 2025-06-23 14:51:00 +02:00
commit 9cedcca2cc
No known key found for this signature in database
6 changed files with 146 additions and 2 deletions

View file

@ -54,7 +54,7 @@ inputs:
$GPG_PASSPHRASE.'
required: false
cache:
description: 'Name of the build platform to cache dependencies. It can be "maven", "gradle" or "sbt".'
description: 'Name of the build platform to cache dependencies. It can be "maven", "gradle", "sbt", or "amper".'
required: false
cache-dependency-path:
description: 'The path to a dependency file: pom.xml, build.gradle, build.sbt, etc. This option can be used with the `cache` option. If this option is omitted, the action searches for the dependency file in the entire repository. This option supports wildcards and a list of file names for caching multiple dependencies.'