Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable bzlmod for release workflow #58

Merged
merged 1 commit into from
Mar 14, 2025
Merged

Conversation

jklukas
Copy link
Member

@jklukas jklukas commented Mar 14, 2025

When I pushed tag 'v0.1.6' the release workflow failed (see https://github.com/bazeltools/bazel_jar_jar/actions/runs/13838887980). The test step threw the following:

ERROR: Skipping '//...': error loading package under directory '': error loading package '~/.cache/bazel-repo/bazel/_bazel_runner/3399e9710025216540c9400ff7b0a534/external/bazel_tools/src/conditions': Label '//tools/windows:windows_config.bzl' is invalid because 'tools/windows' is not a package; perhaps you meant to put the colon here: '//:tools/windows/windows_config.bzl'?
ERROR: error loading package under directory '': error loading package '~/.cache/bazel-repo/bazel/_bazel_runner/3399e9710025216540c9400ff7b0a534/external/bazel_tools/src/conditions': Label '//tools/windows:windows_config.bzl' is invalid because 'tools/windows' is not a package; perhaps you meant to put the colon here: '//:tools/windows/windows_config.bzl'?

The current version of the Test action enables bzlmod, so we update the release flow to do the same.

I went ahead and retagged v0.1.6 with these changes and the workflow was successful.

@jklukas jklukas marked this pull request as ready for review March 14, 2025 11:53
@jklukas jklukas merged commit 5679391 into main Mar 14, 2025
25 checks passed
@jklukas jklukas deleted the klukas/release-failures branch March 14, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants