Path '/home/runner/svn-slug-name/tags/refs/heads' is not a directory

未关闭
#172 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
github-actions, shell
领域
ci-cd, release

调研方向

首先使用 workflow_dispatch 重现该工作流,并检查安装 SVN 后的 checkout 和 file-copy 步骤。跟踪 VERSION 如何变为 refs/heads/master,将该值与可用的 SVN 标签进行比较,并捕获完整的 exit-128 输出;当工作流能够在没有 pathspec 或 directory 错误的情况下复制预期的 plugin 文件时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

running for the first time / using workflow_dispatch (if that makes a difference)

output

SVN was successfully installed.
ℹ︎ SLUG is debug-console-php
ℹ︎ VERSION is refs/heads/master
ℹ︎ ASSETS_DIR is .wordpress-org
➤ Checking out .org repository...
A    /home/runner/svn-debug-console-php/assets
A    /home/runner/svn-debug-console-php/tags
A    /home/runner/svn-debug-console-php/trunk
Updating 'assets':
A    assets/banner-1544x500.png
A    assets/banner-772x250.png
A    assets/icon-128x128.png
Updated to revision 3415759.
Updating 'trunk':
A    trunk/src
A    trunk/src/Settings
A    trunk/vendor
...OMITTING MANY LINES....
Updated to revision 3415759.
Updating 'tags':
A    tags/3.5
Updated to revision 3415759.
➤ Copying files...
ℹ︎ Using .gitattributes
fatal: pathspec 'LICENSE
README.md
...OMITTING MANY LINES....
Error: Process completed with exit code 128.

not familiar enough with svn to know where the error originates

ℹ︎ VERSION is refs/heads/master. seems a bit suspect vs. "3.5" or "v3.5"

google says:

Examine the full error message:
The exit code 128 is often accompanied by more specific error messages in the console output. Analyze these messages for clues about the root cause.

主要语言
Shell
星标
665
派生
115
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

10up/action-wordpress-plugin-deploy 的其他 Issue

查看 10up/action-wordpress-plugin-deploy 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。