Skip to content

Cache Platform #73

Open
Open
@Yee36951

Description

@Yee36951

Describe the request

Cache the downloaded Arduino platform

Every time an Action is executed, the platform needs to be downloaded. However, the files downloaded by a single version are almost the same, and they are all huge. We hope to reduce the running time of the Action by caching the platform.

Describe the current behavior

      - name: Install Platform
        run: |
          arduino-cli core update-index
          arduino-cli core install esp32:esp32 --additional-urls https://espressif.github.io/arduino-esp32/package_esp32_index.json

'arduino/setup-arduino-cli' version

arduino-cli 0.34.2 x64

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest version
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions