Skip to content

Commit

Permalink
Bump actions/setup-dotnet from 1 to 2 (#58)
Browse files Browse the repository at this point in the history
* Bump actions/setup-dotnet from 1 to 2

Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 1 to 2.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@v1...v2)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Combine actions/setup-dotnet@v2 steps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxwell Weru <mburumaxwell@gmail.com>
  • Loading branch information
dependabot[bot] and mburumaxwell authored Mar 4, 2022
1 parent d349ecf commit ca48f3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup .NET 5.0 SDK
uses: actions/setup-dotnet@v1
- name: Setup .NET SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: '5.x'

- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.x'
dotnet-version: |
5.x
6.x
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.7.0
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,12 @@ jobs:
with:
useConfigFile: true

- name: Setup .NET 5.0 SDK
uses: actions/setup-dotnet@v1
- name: Setup .NET SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: '5.x'

- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.x'
dotnet-version: |
5.x
6.x
source-url: https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
Expand Down

0 comments on commit ca48f3b

Please sign in to comment.