Skip to content

Commit dc5136f

Browse files
Moved package save step to last
1 parent 8a0cb74 commit dc5136f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ jobs:
3333
run: dotnet test BrowserStackLocalIntegrationTests --no-build -p:Configuration=Release
3434
- name: Pack NuGet Package
3535
run: msbuild BrowserStackLocal -t:pack -p:Configuration=Release
36-
- name: Save artifact
37-
uses: actions/upload-artifact@v2
38-
with:
39-
name: BrowserStackLocal.nupkg
40-
path: .\BrowserStackLocal\BrowserStackLocal\bin\Release\*.nupkg
4136
- name: Setup nuget
4237
uses: nuget/setup-nuget@v1
4338
with:
@@ -55,5 +50,10 @@ jobs:
5550
Write-Output "::set-output name=PFX_PATH::$pfxPath";
5651
- name: Sign Nuget Package
5752
run: nuget sign .\BrowserStackLocal\bin\Release\*.nupkg -certificatePath "${{ steps.createPfx.outputs.PFX_PATH }}" -certificatePassword "${{secrets.CERT_PASSWORD}}"
53+
- name: Save artifact
54+
uses: actions/upload-artifact@v2
55+
with:
56+
name: BrowserStackLocal.nupkg
57+
path: .\BrowserStackLocal\BrowserStackLocal\bin\Release\*.nupkg
5858
- name: Push package to Nuget Repository
5959
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}

0 commit comments

Comments
 (0)