如何将机密连接到 GitHub 上的工作流程操作中?

bgr*_*-ch 21 github github-actions github-secret

我想将多个秘密连接到 GitHub 上的工作流程操作中。

我想到的示例是创建从文件夹到文件名的完整路径。

bgr*_*-ch 44

要将机密连接到 GitHub 上的工作流程操作中:

${{ format('{0}/{1}.{2}', secrets.FOLDER, secrets.FILENAME, secrets.EXT) }}

来源: https ://docs.github.com/en/actions/learn-github-actions/expressions#format