mirror of
https://git.studyfor.work/actions/gitea-tool-cache.git
synced 2026-01-12 00:16:03 +08:00
修改说明
This commit is contained in:
parent
b93c3b2ef3
commit
39251b9be0
10
README.md
10
README.md
@ -16,7 +16,7 @@ See [action.yml](action.yml)
|
||||
|
||||
```yaml
|
||||
- id: tool-cache
|
||||
uses: kongxiangyiren/gitea-tool-cache@v2
|
||||
uses: kongxiangyiren/gitea-tool-cache@v3
|
||||
with:
|
||||
# go 和 dotnet 需要指定具体版本号
|
||||
node-version: 18
|
||||
@ -43,7 +43,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://gitea.cn/actions/checkout@v4
|
||||
- id: tool-cache
|
||||
uses: kongxiangyiren/gitea-tool-cache@v2
|
||||
uses: kongxiangyiren/gitea-tool-cache@v3
|
||||
with:
|
||||
# go 和 dotnet 需要指定具体版本号
|
||||
node-version: ${{ matrix.node }}
|
||||
@ -83,7 +83,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://gitea.cn/actions/checkout@v4
|
||||
- id: tool-cache
|
||||
uses: kongxiangyiren/gitea-tool-cache@v2
|
||||
uses: kongxiangyiren/gitea-tool-cache@v3
|
||||
with:
|
||||
# 只有node支持版本号别名
|
||||
node-version: ${{ matrix.node }}
|
||||
@ -109,7 +109,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://gitea.cn/actions/checkout@v4
|
||||
- name: 安装环境
|
||||
uses: kongxiangyiren/gitea-tool-cache@v2
|
||||
uses: kongxiangyiren/gitea-tool-cache@v3
|
||||
with:
|
||||
# 需要指定具体版本号
|
||||
go-version: ${{ matrix.go }}
|
||||
@ -134,7 +134,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://gitea.cn/actions/checkout@v4
|
||||
- id: tool-cache
|
||||
uses: kongxiangyiren/gitea-tool-cache@v2
|
||||
uses: kongxiangyiren/gitea-tool-cache@v3
|
||||
with:
|
||||
# 需要指定具体版本号
|
||||
dotnet-version: ${{ matrix.dotnet }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user