Closed pcaversaccio closed 9 months ago
I have also noticed this.
Unfortunately the GitHub cache action requires archives to exist if you say you want to cache them. In our case:
There is no setting (yet) in the action to allow empty. Related issue: https://github.com/actions/cache/issues/1241
I have a workaround in place that creates empty directories if they do not exist (see https://github.com/ApeWorX/github-action/pull/27).
Unfortunately the GitHub cache action requires archives to exist if you say you want to cache them. In our case:
- the .build won't exist if you are not compiling
- the .vvm won't exist if you are not using vyper
- the .solc won't exist if you are not using solc
There is no setting (yet) in the action to allow empty. Related issue: actions/cache#1241
I have a workaround in place that creates empty directories if they do not exist (see #27).
Thanks for fixing it, but I'm not sure I can fully follow. In my case, for example, I'm using ape Vyper compilation here. Does this mean that just the .solc
folder is missing (since I use compilation & Vyper) in that case and thus the warning is issued?
Does this mean that just the
.solc
folder is missing (since I use compilation & Vyper) in that case and thus the warning is issued?
I believe that is the case. Do you mind checking if the fix has resolved the warning for you?
Does this mean that just the
.solc
folder is missing (since I use compilation & Vyper) in that case and thus the warning is issued?I believe that is the case. Do you mind checking if the fix has resolved the warning for you?
Is it already released? If yes, I can simply retrigger the latest CI run for snekmate.
Is it already released? If yes, I can simply retrigger the latest CI run for snekmate.
It is not released yet, but it's merged. I think you can use branches like this:
- uses: ApeWorX/github-action@main
But otherwise I noticed the WARNINGs are gone from the test runs of the action.
Is it already released? If yes, I can simply retrigger the latest CI run for snekmate.
It is not released yet, but it's merged. I think you can use branches like this:
- uses: ApeWorX/github-action@main
But otherwise I noticed the WARNINGs are gone from the test runs of the action.
I can confirm that the warnings are gone now:
https://github.com/pcaversaccio/snekmate/actions/runs/7766317138/job/21182002650
For replication, see this run and go to the section
Post Setup Ape