Skip to content

Commit

Permalink
Fixing github actions (#618)
Browse files Browse the repository at this point in the history
* Use specific version of dotnet

* Tie to version in global.json instead

* Ditch rollforward

* This appears to be necessary
  • Loading branch information
belav authored Feb 21, 2022
1 parent 42ecd21 commit 9f0b52e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format_repositories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
path: csharpier
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
dotnet-version: '6.0.100'
- uses: actions/checkout@v2
with:
repository: belav/csharpier-repos
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
dotnet-version: '6.0.100'
- run: dotnet test Src/CSharpier.Tests/CSharpier.Tests.csproj
publish-nuget:
runs-on: ubuntu-latest
Expand All @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
dotnet-version: '6.0.100'
- name: Publish CSharpier.Core library on version change
uses: rohith/publish-nuget@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
dotnet-version: '6.0.100'
- run: |
dotnet build CSharpier.sln -c release
dotnet test CSharpier.sln -c release
Expand All @@ -29,6 +29,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
dotnet-version: '6.0.100'
- run: |
dotnet build Src/CSharpier.MsBuild/CSharpier.MsBuild.csproj
3 changes: 1 addition & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"sdk": {
"version": "5.0.0",
"rollForward": "latestMajor"
"version": "6.0.100"
}
}

0 comments on commit 9f0b52e

Please sign in to comment.