Skip to content

Commit 7a95a09

Browse files
jDramaixcopybara-github
authored andcommitted
Add Github workflows to release J2CL and JSInterop generator.
PiperOrigin-RevId: 783913854
1 parent 28b6bab commit 7a95a09

File tree

2 files changed

+41
-66
lines changed

2 files changed

+41
-66
lines changed

.github/workflows/release.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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

maven/release_jsinterop_generator.sh

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)