Using Github Actions to deploy and met platform error

Your bundle only supports platforms ["x64-mingw32"] but your local platforms are
["ruby", "x86_64-linux-musl"], and there's no compatible match between those two
lists.

Link to workflow file and action log?

I guess you are using windows in your build. Can you switch to ubuntu-latest

Also found a similar issue here https://github.com/oneclick/rubyinstaller2/issues/7

@printf You can fix this by adding the ruby platform to your Gemfile.lock, like this:

bundle lock --add-platform ruby

Then commit this change, and push, and your GitHub Action should work now.