临时测试.yaml
All checks were successful
/ with-git-folder (push) Successful in 10s
/ without-git-folder (push) Successful in 11s
/ opt_hostedtoolcache (push) Successful in 7s
/ Cache-Java-Test (push) Successful in 13s
/ job1 (push) Successful in 11s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 7s
/ hashFiles (push) Successful in 7s
/ go-hashfiles (push) Successful in 28s
All checks were successful
/ with-git-folder (push) Successful in 10s
/ without-git-folder (push) Successful in 11s
/ opt_hostedtoolcache (push) Successful in 7s
/ Cache-Java-Test (push) Successful in 13s
/ job1 (push) Successful in 11s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 7s
/ hashFiles (push) Successful in 7s
/ go-hashfiles (push) Successful in 28s
This commit is contained in:
2
.github/workflows/临时测试.yaml
vendored
2
.github/workflows/临时测试.yaml
vendored
@ -8,6 +8,7 @@ jobs:
|
||||
- uses: actions/checkout@main
|
||||
- id: check-git-folder
|
||||
run: |
|
||||
# 🤖 判断是否存在 .git 文件夹
|
||||
[ -d .git ] && { echo "🤖 Found .git folder"; echo "git-folder-exists=true" >> $GITHUB_OUTPUT; } || { echo "🤖 No .git folder found"; echo "git-folder-exists=false" >> $GITHUB_OUTPUT; }
|
||||
- name: Show git-folder-exists
|
||||
run: echo ${{ steps.check-git-folder.outputs.git-folder-exists }}
|
||||
@ -16,6 +17,7 @@ jobs:
|
||||
steps:
|
||||
- id: check-git-folder
|
||||
run: |
|
||||
# 🤖 判断是否存在 .git 文件夹
|
||||
[ -d .git ] && { echo "🤖 Found .git folder"; echo "git-folder-exists=true" >> $GITHUB_OUTPUT; } || { echo "🤖 No .git folder found"; echo "git-folder-exists=false" >> $GITHUB_OUTPUT; }
|
||||
- name: Show git-folder-exists
|
||||
run: echo ${{ steps.check-git-folder.outputs.git-folder-exists }}
|
Reference in New Issue
Block a user