mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 23:00:48 +08:00
feat: 在 docker-build-push 工作流中添加测试 secrets 的步骤
This commit is contained in:
@ -33,6 +33,13 @@ outputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: 测试在这里取 secrets
|
||||
run: |
|
||||
if [ "${{ secrets.VALUE_IS_HY }}" == "HY" ]; then
|
||||
echo "Got secrets VALUE_IS_HY"
|
||||
else
|
||||
echo "No secrets VALUE_IS_HY"
|
||||
fi
|
||||
- name: Check .git folder
|
||||
id: check-git-folder
|
||||
shell: bash
|
||||
|
Reference in New Issue
Block a user