如何在github操作中创建文件夹?
我是GitHub行动的新手,需要一些帮助。
我有一个readme.md文件,用于长100行的脚本集合。我想使用此github操作将其翻译成不同的语言( https:// https://githraim/dephraiim/dephraiim/translate -ReadMe ),
但不要将其创建的所有文件放入主要目录中。我想在目录中创建一个文件夹,并将所有这些创建的文件放在其中。
因此,在主要目录中,我有我编写的所有脚本和一个readme.md文件。我想要的就是这样。
MainDirectory/newReadMefolder/(所有新语言readme.md文件)
I am new to github actions and need some help.
I have a readme.md file for a collection of scripts that is 100s of lines long. I want to translate it into different languages using this github action (https://github.com/dephraiim/translate-readme)
But instead of putting all the files it creates into the main directory. I want to create a folder inside my directory and put all these created files in there.
So in the main directory I have all the scripts I've written and one readme.md file. What I want is something like this.
Maindirectory/newreadmefolder/(all the new language readme.md files)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以以这种方式创建目录。:
必须在此完整的操作文件中添加
步骤
部分:如果您也想移动一些文件,则可以添加
mv readme之类的内容 - *。末尾的MD mydirname
A directory can be created this way.:
This has to be added in
steps
part like in this full action file:If you also want to move some file, you can add something like
mv readme-*.md mydirname
at the end, e.g.: