Skip to content

Commit

Permalink
feat: initial bzlmod support
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Sep 7, 2023
1 parent a0eafb0 commit 1fa7d17
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 592 deletions.
10 changes: 10 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

common --enable_bzlmod
build --incompatible_use_platforms_repo_for_constraints
build --incompatible_enable_cc_toolchain_resolution
build --incompatible_strict_action_env
build --enable_runfiles
build --registry=https://raw.githubusercontent.com/bazelboost/registry/main
build --registry=https://bcr.bazel.build

try-import %workspace%/user.bazelrc
12 changes: 12 additions & 0 deletions .github/workflows/bzlmod-archive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Bzlmod Archive

on:
release:
types: [published]

jobs:
bzlmod-archive:
uses: bazelboost/registry/.github/workflows/bzlmod-archive.yml@main
secrets: inherit
permissions:
contents: write
Loading

0 comments on commit 1fa7d17

Please sign in to comment.