Default retention time is being overwritten
Is your feature request related to a problem? Please describe.
Variables stored on friday will expire by monday since the retention period is set to 1.
https://github.com/UnlyEd/github-action-store-variable/blob/main/src/manageArtifacts.ts#L49
Describe the solution you'd like
If the value was set to 0 then it looks like the default retention setting would be taken.
Hi, I wasn't aware of that configuration.
I'm not sure what would be the "default" value. See https://github.com/actions/toolkit/blob/c861dd8859fe5294289fcada363ce9bc71e9d260/packages/artifact/src/internal/upload-options.ts#L1
What value would you need for your use case? I believe this could become a new option, with 1 by default, to keep the current behavior by default.
Thinking of storing a slack_thread_id so that when a PR is updated the correct slack message is updated too. That said; it's looking like i could just use actions/cache@v3 to store them and pull it from that.
I wonder if this project is still useful to anyone, I believe the core "setstate" function makes it useless now.
https://github.com/UnlyEd/github-action-store-variable/issues/46
Closing as I'm deprecating this project.