iand675 / hs-opentelemetry

OpenTelemetry support for the Haskell programming language
https://iankduncan.com/projects/opentelemetry
BSD 3-Clause "New" or "Revised" License
73 stars 34 forks source link

refresh CI cache #68

Closed kakkun61 closed 1 year ago

kakkun61 commented 1 year ago

Some CI failed because of dirty CI cache (maybe).

kakkun61 commented 1 year ago

I think that this will fix CI failures of #56, #64 (some of), and #67.

kakkun61 commented 1 year ago

@iand675 please merge this first for better CI experience.

lf- commented 1 year ago

I wonder if I, as someone with write access, can just delete the cache with the api then rerun the actions. https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28

lf- commented 1 year ago

I have run:

gh api /repos/iand675/hs-opentelemetry/actions/caches -q '.actions_caches | .[] | select(.ref == ("refs/pull/56/merge", "refs/pull/64/merge", "refs/pull/67/merge")) | .id' | xargs  -I '{}' gh api --method DELETE '/repos/iand675/hs-opentelemetry/actions/caches/{}'
kakkun61 commented 1 year ago

Wow nice api are there. If it runs expectedly, this PR is unnecessary.