beanstalk-deploy icon indicating copy to clipboard operation
beanstalk-deploy copied to clipboard

Windows support?

Open ssippe opened this issue 2 years ago • 3 comments

Hi,

Will this run on runs-on: windows-latest?

Thanks

ssippe avatar Sep 20 '22 23:09 ssippe

Just so that it's documented, yes it will. I've been using it on windows-latest until very recently.

SpoonOfDoom avatar Nov 02 '23 13:11 SpoonOfDoom

Simply changing runs-on: ubuntu-latest to runs-on: windows-latest will cause an error during the 'Generate deployment package' step for me.

What should that part look like when running on windows-latest?

malthew avatar Jul 01 '24 13:07 malthew

Simply changing runs-on: ubuntu-latest to runs-on: windows-latest will cause an error during the 'Generate deployment package' step for me.

What should that part look like when running on windows-latest?

Well that sounds like it doesn't really have to do with this beanstalk deploy action rather than another step you made yourself? Try and make sure that your zip file is created properly, and that you use the correct cli command for creating the package. Without seeing your actual workflow, it's hard to give any more detailed answer than that.

For what it's worth, for me the difference looked like this:

# Linux
- name: Zip it
  working-directory: ./publish_directory
  run: zip -r ../deploy.zip .
# Windows
- name: Zip it
  run: Compress-Archive -Path publish_directory/* -DestinationPath deploy.zip

SpoonOfDoom avatar Aug 29 '24 11:08 SpoonOfDoom