Skip to content

Commit 9f2abf6

Browse files
authored
Update nuget.yml
1 parent b6d0344 commit 9f2abf6

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/nuget.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,20 @@ jobs:
1414
uses: actions/setup-dotnet@v1
1515
with:
1616
dotnet-version: 3.1.101
17-
- name: Setup NuGet.exe for use with actions
18-
uses: NuGet/setup-nuget@v1.0.2
19-
- name: Fix nuget binary
20-
run: chmod +x `whereis nuget.exe | sed 's/nuget:\s//'`
2117
- name: Remove .sqlproj
2218
run: dotnet sln DockerizedTesting.sln remove Examples/ExampleDatabase*/*.*proj
19+
2320
- name: Install dependencies
2421
run: dotnet restore
2522
- name: Build
2623
run: dotnet build --configuration Release --no-restore
2724
- name: Test
2825
run: dotnet test --no-restore --verbosity normal
26+
27+
- name: Setup NuGet.exe for use with actions
28+
uses: NuGet/setup-nuget@v1.0.2
29+
- name: Fix nuget binary
30+
run: chmod +x `whereis nuget.exe | sed 's/nuget:\s//'`
2931
- name: Pack
3032
run: dotnet pack --no-restore --verbosity normal -o ./nuget
3133
- name: Publish

0 commit comments

Comments
 (0)