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

Accessing files when complete #17

Closed
Lewiscowles1986 opened this issue Oct 22, 2020 · 3 comments
Closed

Accessing files when complete #17

Lewiscowles1986 opened this issue Oct 22, 2020 · 3 comments

Comments

@Lewiscowles1986
Copy link

Lewiscowles1986 commented Oct 22, 2020

So I tried pairing this with the github actions for wordpress plugin deployment and it seems that the vendor folder never comes out the other side of this action... It created a commit that deleted the folder stopping the plugin from working

https://github.com/Lewiscowles1986/WordPressSVGPlugin/runs/1294128965?check_suite_focus=true

@Lewiscowles1986 Lewiscowles1986 changed the title Accessing files Accessing files when complete Oct 22, 2020
@g105b
Copy link
Member

g105b commented Oct 23, 2020

Hi @Lewiscowles1986,

It looks to me like your action is being stopped by the .gitattributes file being missing, see https://github.com/Lewiscowles1986/WordPressSVGPlugin/runs/1294128965?check_suite_focus=true#step:7:82

To help debug this, you can create a step in your action that outputs the contents of a directory by running ls. That would let you see exactly what is in the directory. I am 100% confident that your vendor directory has been created correctly, because that's the only real job of composer, and a lot of people rely on this action in their projects.

Let me know how you get on debugging and I'll help you wherever possible.

@Lewiscowles1986
Copy link
Author

I'm so sorry, it's weirder than that...

Basically the vendor folder gets omitted due to not being part of git and in gitignore.

@Lewiscowles1986
Copy link
Author

If you want to look at more recent runs I've been doing what I think are some interesting things using this action. Thanks for writing it.

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

No branches or pull requests

2 participants