File tree Expand file tree Collapse file tree 2 files changed +41
-66
lines changed Expand file tree Collapse file tree 2 files changed +41
-66
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2025 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ name : Release Project
15
+
16
+ # TODO(dramaix): Consider triggering the workflow on git tag creation instead.
17
+ # This workflow is triggered manually from the Actions tab.
18
+ on :
19
+ workflow_dispatch :
20
+ inputs :
21
+ version :
22
+ description : ' The version to release'
23
+ required : true
24
+ type : string
25
+
26
+ jobs :
27
+ release :
28
+ uses : google/j2cl/.github/workflows/release_common.yaml@master
29
+
30
+ # The reusable workflow requires 'write' access to contents to push a git tag.
31
+ permissions :
32
+ contents : write
33
+
34
+ # Pass the inputs from the manual trigger to the reusable workflow.
35
+ with :
36
+ version : ${{ github.event.inputs.version }}
37
+ publish_to_sonatype : false
38
+ create_tag : true
39
+
40
+ # Allow the reusable workflow to access the secrets.
41
+ secrets : inherit
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments