diff --git a/.github/workflows/dotnet-release.yml b/.github/workflows/dotnet-release.yml index c78d76db..7a60b4c9 100644 --- a/.github/workflows/dotnet-release.yml +++ b/.github/workflows/dotnet-release.yml @@ -62,11 +62,11 @@ jobs: - name: pack artifact run: dotnet pack .\SauceLabs.Visual\SauceLabs.Visual.csproj -c Release - # - name: publish artifact - # run: | - # $version = "${{ steps.upgrade.outputs.version }}" - # $apiKey = "${{ secrets.NUGET_API_KEY }}" - # dotnet nuget push .\SauceLabs.Visual\bin\Release\SauceLabs.Visual.$version.nupkg --api-key $apiKey --source https://api.nuget.org/v3/index.json + - name: publish artifact + run: | + $version = "${{ steps.upgrade.outputs.version }}" + $apiKey = "${{ secrets.NUGET_API_KEY }}" + dotnet nuget push .\SauceLabs.Visual\bin\Release\SauceLabs.Visual.$version.nupkg --api-key $apiKey --source https://api.nuget.org/v3/index.json - name: Github Release uses: softprops/action-gh-release@v2 diff --git a/visual-dotnet/SauceLabs.Visual/SauceLabs.Visual.csproj b/visual-dotnet/SauceLabs.Visual/SauceLabs.Visual.csproj index 5e3f903d..423499d4 100644 --- a/visual-dotnet/SauceLabs.Visual/SauceLabs.Visual.csproj +++ b/visual-dotnet/SauceLabs.Visual/SauceLabs.Visual.csproj @@ -7,7 +7,7 @@ en-US en SauceLabs.Visual - 0.0.1 + 0.0.0 Sauce Labs Visual Binding saucelabs sauce labs visual testing screenshot capture dom https://github.com/saucelabs/visual-sdks