Skip to content

Commit

Permalink
Update actions/setup-dotnet action to v2 (#89)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
renovate[bot] and renovate-bot authored Mar 11, 2022
1 parent 503e0e1 commit e4f0e3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ jobs:
fetch-depth: 0

- name: 🔽 Setup dotnet 2.1
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: "2.1.x"

- name: 🔽 Setup dotnet 3.1
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: "3.1.x"

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

- name: 🔽 Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.11
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: git branch -D main || true; git checkout -b main

- name: 🔽 Install dotnet
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2

- name: 🔽 Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.11
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
name: global-json

- name: 🔽 Install dotnet
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2

- name: 🔼 Publish package to nuget
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"
Expand All @@ -164,7 +164,7 @@ jobs:
name: global-json

- name: 🔽 Install dotnet
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2

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

0 comments on commit e4f0e3f

Please sign in to comment.