setup-emsdk icon indicating copy to clipboard operation
setup-emsdk copied to clipboard

Bump to `@actions/cache` v4 to fix caching failures

Open agriyakhetarpal opened this issue 7 months ago • 5 comments

This shall fix #47. The linked issue has more details; the gist is that actions/cache v3 is deprecated and GitHub has advised users and Actions authors to move to v4 to fix builds.

agriyakhetarpal avatar May 26 '25 10:05 agriyakhetarpal

Hi @mymindstorm, would you be able to review this PR in the near future? Currently, setting up Emscripten takes three minutes on all workflow runs due to the obsolete @actions/cache v3, which has been declared to be no longer functional. It would be beneficial to all users if you could allocate the necessary bandwidth to review this PR and release it soon after. Thank you, a lot, for your time and work!

I will be creating a friendly fork under the @pyodide organisation in the meantime to use this action to speed up builds. I shall archive it as soon as you return to active development on this repository, I promise! :)

agriyakhetarpal avatar Jun 13 '25 10:06 agriyakhetarpal

Hi @mymindstorm and to those subscribed to this PR: I created a friendly fork at https://github.com/pyodide/setup-emsdk/ and a corresponding release at https://github.com/pyodide/setup-emsdk/releases/tag/v15 for our use, which directs to this repository for accreditation. It will be archived once this PR is merged and included in a release.

It can be used by swapping out the actions from

- uses: mymindstorm/setup-emsdk@v14

to

- uses: pyodide/setup-emsdk@v15

agriyakhetarpal avatar Jun 24 '25 15:06 agriyakhetarpal

@agriyakhetarpal confirming the fork worked, thanks for publishing!

bdon avatar Jul 09 '25 03:07 bdon

@mymindstorm, hello! Can you view this request?

Danil42Russia avatar Sep 02 '25 09:09 Danil42Russia

Thanks @Danil42Russia, good catch!

agriyakhetarpal avatar Sep 02 '25 14:09 agriyakhetarpal