![](/img/trans.png)
[英]How to setup shared github action workflow with secrets and node modules
[英]How to concatenate secrets into workflow action on GitHub?
我想将多个机密连接到我对 GitHub 的工作流操作中。
想到的示例是创建从文件夹到文件名的完整路径。
要将机密连接到 GitHub 上的工作流操作中:
${{ format('{0}/{1}.{2}', secrets.FOLDER, secrets.FILENAME, secrets.EXT) }}
资料来源: https://docs.github.com/en/actions/learn-github-actions/expressions#format
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.