You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which should be CACHE: ${{ inputs.cache }}, othewise the value of env.CACHE will be a value of hardcoded inputs.cache, which always makes if: ${{ env.CACHE != 'false' }}) to be truthy to use the cache.
This is issue doesn't break current action workflow is because by default reusable-tests.yaml is called with cache: true. I detected it while I forked this project and trying to run the tests without cache.
i will provide a PR shortly.
The text was updated successfully, but these errors were encountered:
yanCode
added a commit
to yanCode/anchor
that referenced
this issue
Nov 14, 2024
According to the settings in :
https://github.com/coral-xyz/anchor/blob/master/.github/workflows/tests.yaml
If I change
cache
fromtrue
tofalse
above, Cache in Github Actions should be disabled. but this is not working, the reason is:anchor/.github/workflows/reusable-tests.yaml
Line 22 in 762ef5e
which should be
CACHE: ${{ inputs.cache }}
, othewise the value ofenv.CACHE
will be a value of hardcodedinputs.cache
, which always makesif: ${{ env.CACHE != 'false' }})
to be truthy to use the cache.This is issue doesn't break current action workflow is because by default
reusable-tests.yaml
is called withcache
:true
. I detected it while I forked this project and trying to run the tests without cache.i will provide a PR shortly.
The text was updated successfully, but these errors were encountered: