Skip to content

Commit 2fd305d

Browse files
committed
Use git repository name as the http_archive name
1 parent 1172fa3 commit 2fd305d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/workspace_snippet.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ WORKSPACE snippet:
1414
\`\`\`starlark
1515
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
1616
http_archive(
17-
name = "",
17+
name = "${REPO_NAME}",
1818
sha256 = "${SHA}",
1919
strip_prefix = "${PREFIX}",
2020
url = "https://github.com/${GITHUB_REPOSITORY}/archive/refs/tags/${TAG}.tar.gz",

0 commit comments

Comments
 (0)