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

svn: can not be found #157

Closed
alicolville opened this issue Dec 19, 2024 · 2 comments · Fixed by #160
Closed

svn: can not be found #157

alicolville opened this issue Dec 19, 2024 · 2 comments · Fixed by #160
Labels
help wanted Extra attention is needed type:bug Something isn't working.
Milestone

Comments

@alicolville
Copy link

Hi folks,

When running the GitHub action to deploy to WordPress SVN (which has never had an issue), I'm now seeing the following:

/home/runner/work/_actions/10up/action-wordpress-plugin-deploy/stable/deploy.sh: line 6[3](https://github.com/alicolville/shortcode-variables/actions/runs/12412813078/job/34657268003#step:3:3): svn: command not found

But I'm not quite sure how to address this, any tips would be much appreciated!

##[debug]Evaluating: secrets.SVN_PASSWORD
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'SVN_PASSWORD'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.SVN_USERNAME
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'SVN_USERNAME'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating condition for step: 'WordPress Plugin Deploy'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: WordPress Plugin Deploy
##[debug]Loading inputs
##[debug]Loading env
Run 10up/action-wordpress-plugin-deploy@stable
##[debug]Evaluating: inputs.generate-zip
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'generate-zip'
##[debug]=> 'false'
##[debug]Result: 'false'
##[debug]Evaluating: inputs.dry-run
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'dry-run'
##[debug]=> 'false'
##[debug]Result: 'false'
##[debug]Evaluating condition for step: 'run'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: run
##[debug]Loading inputs
##[debug]Evaluating: format('{0}/deploy.sh', github.action_path)
##[debug]Evaluating format:
##[debug]..Evaluating String:
##[debug]..=> '{0}/deploy.sh'
##[debug]..Evaluating Index:
##[debug]....Evaluating github:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'action_path'
##[debug]..=> '/home/runner/work/_actions/10up/action-wordpress-plugin-deploy/stable'
##[debug]=> '/home/runner/work/_actions/10up/action-wordpress-plugin-deploy/stable/deploy.sh'
##[debug]Result: '/home/runner/work/_actions/10up/action-wordpress-plugin-deploy/stable/deploy.sh'
##[debug]Loading env
Run /home/runner/work/_actions/10up/action-wordpress-plugin-deploy/stable/deploy.sh
##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /home/runner/work/_temp/5506b3dd-c7f1-4843-ac35-59d3c10b[2](https://github.com/alicolville/shortcode-variables/actions/runs/12412813078/job/34657268003#step:3:2)3d4.sh
allexport      	off
braceexpand    	on
emacs          	off
errexit        	on
errtrace       	off
functrace      	off
hashall        	on
histexpand     	off
history        	off
ignoreeof      	off
interactive-comments	on
keyword        	off
/home/runner/work/_actions/10up/action-wordpress-plugin-deploy/stable/deploy.sh: line 6[3](https://github.com/alicolville/shortcode-variables/actions/runs/12412813078/job/34657268003#step:3:3): svn: command not found
monitor        	off
noclobber      	off
noexec         	off
noglob         	off
nolog          	off
notify         	off
nounset        	off
onecmd         	off
physical       	off
pipefail       	off
posix          	off
privileged     	off
verbose        	off
vi             	off
xtrace         	off
ℹ︎ SLUG is shortcode-variables
ℹ︎ VERSION is [4](https://github.com/alicolville/shortcode-variables/actions/runs/12412813078/job/34657268003#step:3:4).2
ℹ︎ ASSETS_DIR is .wordpress-org
➤ Checking out .org repository...
Error: Process completed with exit code 12[7](https://github.com/alicolville/shortcode-variables/actions/runs/12412813078/job/34657268003#step:3:7).
##[debug]Finished: run
##[debug]Evaluating: steps.deploy.outputs.zip-path
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'deploy'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'zip-path'
##[debug]=> null
##[debug]Result: null
##[debug]Finishing: WordPress Plugin Deploy
@vikrampm1 vikrampm1 added type:bug Something isn't working. help wanted Extra attention is needed labels Dec 19, 2024
@dkotter
Copy link
Collaborator

dkotter commented Dec 19, 2024

I believe this is the same issue that was discussed here: #151. There's a solution mentioned there that should work, though we are looking into ways we can address this within this Action, rather than requiring anyone using this Action to install svn.

@alicolville
Copy link
Author

alicolville commented Dec 20, 2024

Ah perfect, that worked @dkotter - thanks for your help!

@github-project-automation github-project-automation bot moved this from Incoming to Done in Open Source Practice Dec 20, 2024
@dkotter dkotter added this to the 2.3.0 milestone Jan 14, 2025
@dkotter dkotter linked a pull request Jan 14, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type:bug Something isn't working.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants