添加 Java 缓存工作流并更新 Go 哈希文件工作流配置
All checks were successful
/ job1 (push) Successful in 8s
/ job2 (push) Successful in 9s
/ job3 (push) Has been skipped
/ go-hashfiles (push) Successful in 22s
/ hashFiles (push) Successful in 8s
/ Cache-Java-Test (push) Successful in 1m21s
/ opt_hostedtoolcache (push) Successful in 7s

This commit is contained in:
严浩
2024-10-14 12:11:14 +08:00
parent d356d9fd72
commit a0d1004d5d
3 changed files with 15 additions and 6 deletions

View File

@ -26,11 +26,11 @@ jobs:
# Setup the Go environment. This step can be skipped if Go has been installed.
- uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: "1.20"
- uses: https://gitea.com/actions/go-hashfiles@main
id: get-hash
with:
with:
patterns: |-
go.sum
./admin/*
@ -38,4 +38,4 @@ jobs:
README.md
- name: Echo hash
run: echo ${{ steps.get-hash.outputs.hash }}
run: echo ${{ steps.get-hash.outputs.hash }}