feat: add Built-in parameters: DIRNAME, #1628, #1633 - #1653
Conversation
love-linger
commented
Aug 4, 2025
You should use working directory of the custom action's process, which is always the path of repository |
heartacker
commented
Aug 4, 2025
we just want the |
heartacker
commented
Aug 4, 2025
I know the path is fixed, but I only need the name of the folder. And this folder is fixed just like the path, which is very useful for custom processing. I need to get the name of the folder instead of the name of the path |
love-linger
commented
Aug 4, 2025
DIR_NAME=$(basename `pwd`) |
heartacker
commented
Aug 4, 2025
love-linger
commented
Aug 4, 2025
It's a shell expr. You should use |
love-linger
commented
Aug 4, 2025
heartacker
commented
Aug 4, 2025
That is to say, even for further customized requirements, even if they are simple, I have to use the shell. Moreover, under different operating systems, such as Linux or Windows, I also have to write specific and different commands for the operating systems to achieve the same function. |
f325aaf to
6511d15Compare5142a5f to
62d2908Comparea39d261 to
03ab1afCompare


No description provided.