Skip to content

Commit e4f0e3f

Browse files
Update actions/setup-dotnet action to v2 (#89)
Co-authored-by: Renovate Bot <[email protected]>
1 parent 503e0e1 commit e4f0e3f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ jobs:
2828
fetch-depth: 0
2929

3030
- name: 🔽 Setup dotnet 2.1
31-
uses: actions/setup-dotnet@v1
31+
uses: actions/setup-dotnet@v2
3232
with:
3333
dotnet-version: "2.1.x"
3434

3535
- name: 🔽 Setup dotnet 3.1
36-
uses: actions/setup-dotnet@v1
36+
uses: actions/setup-dotnet@v2
3737
with:
3838
dotnet-version: "3.1.x"
3939

4040
- name: 🔽 Setup dotnet from global.json
41-
uses: actions/setup-dotnet@v1
41+
uses: actions/setup-dotnet@v2
4242

4343
- name: 🔽 Install GitVersion
4444
uses: gittools/actions/gitversion/[email protected]

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: git branch -D main || true; git checkout -b main
2424

2525
- name: 🔽 Install dotnet
26-
uses: actions/setup-dotnet@v1
26+
uses: actions/setup-dotnet@v2
2727

2828
- name: 🔽 Install GitVersion
2929
uses: gittools/actions/gitversion/[email protected]
@@ -137,7 +137,7 @@ jobs:
137137
name: global-json
138138

139139
- name: 🔽 Install dotnet
140-
uses: actions/setup-dotnet@v1
140+
uses: actions/setup-dotnet@v2
141141

142142
- name: 🔼 Publish package to nuget
143143
run: dotnet nuget push --force-english-output --api-key '${{ secrets.GITHUB_TOKEN }}' --source 'https://nuget.pkg.github.com/YoloDev/index.json' --skip-duplicate "nuget/*.nupkg"
@@ -164,7 +164,7 @@ jobs:
164164
name: global-json
165165

166166
- name: 🔽 Install dotnet
167-
uses: actions/setup-dotnet@v1
167+
uses: actions/setup-dotnet@v2
168168

169169
- name: 🔼 Publish package to nuget
170170
run: dotnet nuget push --force-english-output --api-key '${{ secrets.NUGET_API_KEY }}' --source '${{ secrets.NUGET_FEED }}' --skip-duplicate "nuget/*.nupkg"

0 commit comments

Comments
 (0)