Skip to content

Commit

Permalink
Configure global.json (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthalman authored Oct 12, 2024
1 parent 4d2573e commit 13451f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ jobs:
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4

- name: Setup .NET Core SDK
- name: Setup .NET SDK
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3
with:
dotnet-version: "8.0.x"
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Install dependencies
run: dotnet restore
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ jobs:
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4

- name: Setup .NET Core SDK
- name: Setup .NET SDK
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3
with:
dotnet-version: "8.0.x"

- name: Install dependencies
working-directory: src/Valleysoft.Dredge
Expand Down Expand Up @@ -103,10 +101,8 @@ jobs:
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4

- name: Setup .NET Core SDK
- name: Setup .NET SDK
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3
with:
dotnet-version: "8.0.x"

- name: Install dependencies
run: dotnet restore
Expand Down
7 changes: 7 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "8.0.403",
"rollForward": "latestPatch",
"allowPrerelease": false
}
}

0 comments on commit 13451f8

Please sign in to comment.