SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.7k stars 8.19k forks source link

ERROR: [...]webdriver/BUILD.bazel:269:11: in src attribute of nuget_push rule //dotnet/src/webdriver:publish: '//dotnet/src/webdriver:package' must produce a single file #9730

Closed Techtonictools closed 3 years ago

Techtonictools commented 3 years ago

🐛 Bug Report

I need to build selenium on windows, I followed the instructions and the build is failing. What do I need to do to resolve the error?

To Reproduce

Install bazel using instructions from https://docs.bazel.build/versions/4.1.0/install-windows.html Put bazel in the PATH Install msys2 using instructions from https://www.msys2.org/ and update the package database Set the BAZEL_SH environment variable Run pacman -S zip unzip patch diffutils git per bazel guidance Install ruby via pacman Install windows version of ruby Install Java JDK and set path or JAVA_HOME to the install directory wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://edelivery.oracle.com/otn-pub/java/jdk/8u301-b09/d3c52aa6bfa54d3ca74e617f18309292/jdk-8u301-windows-x64.exe Install python for windows

cd d:\src\beta\selenium bazel build //dotnet/...

Results

=>Mon 08/09/2021 12:04:59.52=> d:\Src\Beta\selenium
bazel build //dotnet/...
Starting local Bazel server and connecting to it...
ERROR: D:/src/beta/selenium/dotnet/src/webdriver/BUILD.bazel:269:11: in src attribute of nuget_push rule //dotnet/src/webdriver:publish: '//dotnet/src/webdriver:package' must produce a single file
ERROR: D:/src/beta/selenium/dotnet/src/webdriver/BUILD.bazel:269:11: Analysis of target '//dotnet/src/webdriver:publish' failed
ERROR: Analysis of target '//dotnet/src/webdriver:publish' failed; build aborted:
INFO: Elapsed time: 13.222s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (358 packages loaded, 13105 targets configured)

=>Mon 08/09/2021 12:05:17.99=> d:\Src\Beta\selenium

dotnet/src/webdriver/BUILD.bazel:269 through 273

nuget_push(
    name = "publish",
    src = ":package",
    api_key = "//dotnet:nuget-api-key",
)

Environment

OS: Microsoft Windows [Version 10.0.19042.985]

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.