File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 inputs :
66 package-name :
7- description : ' Package to Publish (utils/selenium)'
7+ description : ' Package to Publish (utils/selenium/playwright )'
88 required : true
99 type : choice
1010 options :
1111 - lambdatest-sdk-utils
1212 - lambdatest-selenium-driver
13+ - lambdatest-playwright-driver
1314 default : ' lambdatest-sdk-utils'
1415
1516jobs :
4041 dotnet build ./LambdaTest.Selenium.Driver --configuration Release --no-restore
4142 dotnet pack ./LambdaTest.Selenium.Driver --configuration Release --no-build --output ./LambdaTest.Selenium.Driver/nupkgs
4243 dotnet nuget push ./LambdaTest.Selenium.Driver/nupkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
44+
45+ - name : Build and publish LambdaTest.Playwright.Driver
46+ if : github.event.inputs.package-name == 'lambdatest-playwright-driver'
47+ run : |
48+ dotnet restore ./LambdaTest.Playwright.Driver
49+ dotnet build ./LambdaTest.Playwright.Driver --configuration Release --no-restore
50+ dotnet pack ./LambdaTest.Playwright.Driver --configuration Release --no-build --output ./LambdaTest.Playwright.Driver/nupkgs
51+ dotnet nuget push ./LambdaTest.Playwright.Driver/nupkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments