Skip to content

Commit 4a79d25

Browse files
authored
Update Dotnet_template.yml
1 parent 9872e12 commit 4a79d25

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/Dotnet_template.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v2
18+
- uses: actions/setup-dotnet@v1
19+
with:
20+
dotnet-version: '3.1'
1821
- run: mkdir -p .nuget
1922
- name: Download nuget
2023
run:
@@ -28,8 +31,8 @@ jobs:
2831
run: mono .nuget/nuget.exe pack -NoDefaultExcludes
2932
- name: GitHub Release
3033
if: |
31-
success() &&
32-
startsWith(github.ref, 'refs/tags/')
34+
(success() &&
35+
startsWith(github.ref, 'refs/tags/'))
3336
uses: softprops/action-gh-release@v1
3437
with:
3538
files: ./**/*.nupkg

0 commit comments

Comments
 (0)