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

Fails when vendor/composer directory removed from build #58

Open
KevinBatdorf opened this issue Aug 20, 2024 · 0 comments
Open

Fails when vendor/composer directory removed from build #58

KevinBatdorf opened this issue Aug 20, 2024 · 0 comments

Comments

@KevinBatdorf
Copy link

Describe the bug
This was actually a bug in our workflow file but I think exposed an edge case bug with the workflow too

➤ Preparing files...
ℹ︎ Reverting changes in vendor/composer directory
svn: E000002: Can't create directory '/home/runner/svn-***/trunk/vendor/composer': No such file or directory

Steps to Reproduce

  1. Have a plugin with /vendor/composer
  2. Trigger the workflow and have a change where the /vendor directory has been deleted (so it can't revert /vendor/composer)

https://github.com/10up/action-wordpress-plugin-asset-update/blob/develop/deploy.sh#L134C1-L138C3

Expected behavior
Expected it to fail more gracefully a few lines below

@KevinBatdorf KevinBatdorf changed the title Fails when composer directory removed from build Fails when vendor/composer directory removed from build Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Incoming
Development

No branches or pull requests

1 participant