# Using Github Actions to deploy and met platform error

**URL:** <https://talk.jekyllrb.com/t/using-github-actions-to-deploy-and-met-platform-error/5006>\
**Category:** Help\
**Created:** [September 28, 2020, 2:58pm UTC](https://talk.jekyllrb.com/t/using-github-actions-to-deploy-and-met-platform-error/5006 "2020-09-28T14:58:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![printf](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@printf](https://talk.jekyllrb.com/u/printf)\
**Post date:** [September 28, 2020, 2:58pm UTC](https://talk.jekyllrb.com/t/using-github-actions-to-deploy-and-met-platform-error/5006/1 "2020-09-28T14:58:39Z")

</div>

```auto
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.

```

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [September 30, 2020, 7:54pm UTC](https://talk.jekyllrb.com/t/using-github-actions-to-deploy-and-met-platform-error/5006/2 "2020-09-30T19:54:20Z")

</div>

Link to workflow file and action log?

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [September 30, 2020, 7:57pm UTC](https://talk.jekyllrb.com/t/using-github-actions-to-deploy-and-met-platform-error/5006/3 "2020-09-30T19:57:15Z")

</div>

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](https://github.com/oneclick/rubyinstaller2/issues/7)

---

<div class="post-metadata">

**Author:** ![monfresh](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/monfresh/32/2988_2.png) [@monfresh](https://talk.jekyllrb.com/u/monfresh)\
**Post date:** [December 28, 2020, 6:00am UTC](https://talk.jekyllrb.com/t/using-github-actions-to-deploy-and-met-platform-error/5006/4 "2020-12-28T06:00:54Z")

</div>

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

```auto
bundle lock --add-platform ruby

```

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