Skip to content

Commit

Permalink
Deprecate cache input
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz committed Nov 22, 2024
1 parent 3d3def3 commit d34fbc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ inputs:
description: Cache build directory
required: false
default: false
deprecationMessage: |
There is little to no gain in caching the build directory as
ESPHome will wipe the build artifacts in most cases for releases.
This will be removed in a future release.
release-summary:
description: Release summary
required: false
Expand Down Expand Up @@ -67,6 +71,7 @@ runs:
tags: esphome:${{ inputs.version }}
build-args: VERSION=${{ inputs.version }}
platforms: ${{ inputs.platform }}

- if: ${{ inputs.cache == 'true' }}
id: data-dir
shell: bash
Expand All @@ -93,6 +98,7 @@ runs:
path: ${{ steps.data-dir.outputs.data_dir }}/storage
key: ${{ runner.os }}-esphome-${{ inputs.yaml-file }}-${{ inputs.version }}-storage
save-always: true

- name: Run container
shell: bash
id: build-step
Expand Down

0 comments on commit d34fbc0

Please sign in to comment.