File tree 3 files changed +39
-2
lines changed 3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish To BCR
2
+
3
+ on :
4
+ # Run the publish workflow after a successful release
5
+ # Can be triggered from the release.yaml workflow
6
+ workflow_call :
7
+ inputs :
8
+ tag_name :
9
+ required : true
10
+ type : string
11
+ # In case of problems, let release engineers retry by manually dispatching
12
+ # the workflow from the GitHub UI
13
+ workflow_dispatch :
14
+ inputs :
15
+ tag_name :
16
+ required : true
17
+ type : string
18
+
19
+ permissions :
20
+ id-token : write
21
+ attestations : write
22
+ contents : write
23
+
24
+ jobs :
25
+ publish :
26
+ uses : bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@165f8b872b32a54bcc3c77156db4a74f54a51986 # 2025 March 14
27
+ with :
28
+ tag_name : ${{ inputs.tag_name }}
29
+ # GitHub repository which is a fork of the upstream where the Pull Request will be opened.
30
+ registry_fork : aspect-build/bazel-central-registry
31
+ secrets :
32
+ publish_token : ${{ secrets.PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
release :
18
- uses : bazel-contrib/.github/.github/workflows/release_ruleset.yaml@cb461f299b8d472a82d1d88c4cef7d6013721742 # 2024-12-03
18
+ uses : bazel-contrib/.github/.github/workflows/release_ruleset.yaml@540bb73a286db90d2f82d337d0adec21d3d54d7b # 2025-03-14
19
19
with :
20
20
prerelease : false
21
21
release_files : rules_lint-*.tar.gz
22
22
tag_name : ${{ inputs.tag_name }}
23
+ publish :
24
+ needs : release
25
+ uses : ./.github/workflows/publish.yaml
26
+ with :
27
+ tag_name : ${{ inputs.tag_name }}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ cc_library(
13
13
"hello-time.h" ,
14
14
"xhello-time.h" ,
15
15
],
16
- local_defines = ["LOCAL_DEFINE_IS_DEFINED=\\ \" a_string\\ \" " ],
17
16
includes = ["." ],
17
+ local_defines = ["LOCAL_DEFINE_IS_DEFINED=\\ \" a_string\\ \" " ],
18
18
visibility = ["//src/cpp/main:__pkg__" ],
19
19
)
You can’t perform that action at this time.
0 commit comments