actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.49k stars 1.2k forks source link

Running actions/cache in a composite action and setting the path via input does not save the cache #1359

Closed dreinhardt89 closed 6 months ago

dreinhardt89 commented 6 months ago

I run my action as a part of a composite.

When I run it however it doesn't seem to pickup the input even though I clearly see the input in the console log.

  - name: Helm - Cache Charts
    id: helm_cache_charts
    uses: actions/cache@v4
    with:
      path: ${{ inputs.cache_path }}
      key: helm-chart-cache-${{ steps.chart_lock_file_hash.outputs.chart_lock_file_hash }}

image image

dreinhardt89 commented 6 months ago

Actually looks like this is an issue with the runner (https://github.com/actions/cache/issues/803)