Skip to content

Commit 84df05a

Browse files
committed
chore: migrate from semantic-release to release-please
1 parent 7195bae commit 84df05a

File tree

1 file changed

+2
-47
lines changed

1 file changed

+2
-47
lines changed
Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
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-
# http://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-
151
on:
162
push:
173
branches:
@@ -30,37 +16,6 @@ jobs:
3016
- uses: googleapis/release-please-action@v4
3117
id: release
3218
with:
33-
command: manifest
3419
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
35-
36-
- name: Checkout
37-
uses: actions/checkout@v2
38-
if: ${{ steps.release.outputs.release_created }}
39-
with:
40-
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
41-
42-
- name: set up Java 21
43-
uses: actions/setup-java@v3
44-
if: ${{ steps.release.outputs.release_created }}
45-
with:
46-
distribution: 'temurin'
47-
java-version: '21'
48-
49-
- name: Build APKs
50-
if: ${{ steps.release.outputs.release_created }}
51-
run: |
52-
echo "Generating ApiDemos (Java) APKs"
53-
cd $GITHUB_WORKSPACE/ApiDemos/project/
54-
./gradlew assemble
55-
cp ./java-app/build/outputs/apk/debug/java-app-debug.apk $GITHUB_WORKSPACE/ApiDemos-java-debug.apk
56-
57-
echo "Generating Kotlin (Kotlin) APKs"
58-
./gradlew assemble
59-
cp ./kotlin-app/build/outputs/apk/debug/kotlin-app-debug.apk $GITHUB_WORKSPACE/ApiDemos-kotlin-debug.apk
60-
61-
- name: Upload Release Artifacts
62-
if: ${{ steps.release.outputs.release_created }}
63-
env:
64-
GITHUB_TOKEN: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
65-
run: |
66-
gh release upload ${{ steps.release.outputs.tag_name }} ./ApiDemos-java-debug.apk ./ApiDemos-kotlin-debug.apk
20+
config-file: release-please-config.json
21+
manifest-file: .release-please-manifest.json

0 commit comments

Comments
 (0)