Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows support? #90

Open
ssippe opened this issue Sep 20, 2022 · 3 comments
Open

Windows support? #90

ssippe opened this issue Sep 20, 2022 · 3 comments

Comments

@ssippe
Copy link

ssippe commented Sep 20, 2022

Hi,

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

Thanks

@SpoonOfDoom
Copy link

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

@malthew
Copy link

malthew commented Jul 1, 2024

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?

@SpoonOfDoom
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants