steps:
- uses: actions/checkout@v3
env:
PROJECT_NAME: echo ${GITHUB_REPOSITORY#${GITHUB_REPOSITORY_OWNER}/} | tr A-Z a-z
1
BrettD 2023-01-31 19:32:47 +08:00 via iPhone
${{ github.repository }}
|
2
fangwenxue OP @BrettD 这个带有用户名了,我只想要仓库名 让后转小写
|
3
wdssmq 2023-02-01 09:16:26 +08:00
「折腾」 GitHub Actions 如何提取推送的 Tag_电脑网络_沉冰浮水
https://www.wdssmq.com/post/20220706871.html 文档: https://docs.github.com/zh/actions/using-workflows/workflow-commands-for-github-actions 见「设置环境变量」和「设置输出参数」,按需选用 |