Skip to content

Update build.yml #2171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 150 commits into
base: file-sync/default
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
6d67590
chore(deps): bump androidx.compose.foundation:foundation from 1.7.0-a…
dependabot[bot] May 15, 2024
ecc7694
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.7.0…
dependabot[bot] May 15, 2024
3807502
chore(deps): bump androidx.compose.material:material from 1.7.0-alpha…
dependabot[bot] May 15, 2024
273126a
chore: improved git hook to add Google API Keys (#1576)
kikoso May 17, 2024
877e255
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.6…
dependabot[bot] May 20, 2024
60a32c6
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.6.1…
dependabot[bot] May 20, 2024
71b8563
chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.24 to 2…
dependabot[bot] May 21, 2024
9659cd2
chore(deps): bump com.android.application from 8.4.0 to 8.4.1 in /sni…
dependabot[bot] May 21, 2024
ac7cb5e
chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 from 1.9.24…
dependabot[bot] May 21, 2024
7e45eab
chore(deps): bump org.jetbrains.kotlin.android from 1.9.24 to 2.0.0 i…
dependabot[bot] May 21, 2024
98cb659
chore(deps): bump com.google.maps.android:places-ktx from 3.1.1 to 3.…
dependabot[bot] May 22, 2024
bd1e5c2
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
1e64a95
chore(deps): bump kotlin_version from 1.9.24 to 2.0.0 in /tutorials/k…
dependabot[bot] May 27, 2024
883b96b
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
b8aaee9
chore(deps): bump kotlin_version from 1.9.24 to 2.0.0 in /tutorials/k…
dependabot[bot] May 27, 2024
3f872bd
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
427f2a1
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
bfff002
chore(deps): bump org.jetbrains.kotlin.android from 1.9.24 to 2.0.0 i…
dependabot[bot] May 27, 2024
75bad41
chore(deps): bump com.android.application from 8.4.0 to 8.4.1 in /Wea…
dependabot[bot] May 27, 2024
993354d
chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk7 from 1.9.24…
dependabot[bot] May 27, 2024
e899680
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
dc94eb6
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
f8ade56
chore(deps): bump org.jetbrains.kotlin:kotlin-bom from 1.9.24 to 2.0.…
dependabot[bot] May 27, 2024
23a379c
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
6add44a
chore(deps): bump kotlin_version from 1.9.24 to 2.0.0 in /tutorials/k…
dependabot[bot] May 27, 2024
e6a535d
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
602a8c2
chore(deps): bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 …
dependabot[bot] May 27, 2024
ecb6b80
chore(deps): bump kotlin_version from 1.9.24 to 2.0.0 in /ApiDemos/ko…
dependabot[bot] May 27, 2024
735598a
chore(deps): bump com.google.android.libraries.places:places from 3.4…
dependabot[bot] May 29, 2024
2fec8c9
chore(deps): bump androidx.compose.material:material from 1.7.0-beta0…
dependabot[bot] May 30, 2024
0098d8f
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] May 30, 2024
58593b7
chore(deps): bump androidx.compose.foundation:foundation from 1.7.0-b…
dependabot[bot] May 30, 2024
098cb36
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.0…
dependabot[bot] May 30, 2024
723eae5
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
ebad1b4
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.0…
dependabot[bot] Jun 3, 2024
44e4fef
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
27f3afc
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
8e21fea
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
48622d7
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
625d093
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
6901e00
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
636e403
chore(deps): bump com.google.android.libraries.places:places from 3.4…
dependabot[bot] Jun 3, 2024
a0ed5fe
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
c60746c
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.8…
dependabot[bot] Jun 3, 2024
d98c7e1
chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 in…
dependabot[bot] Jun 3, 2024
c41fc26
chore(deps): bump com.google.android.libraries.places:places from 3.4…
dependabot[bot] Jun 3, 2024
ce7783c
chore(deps): bump com.google.maps.android:maps-compose from 5.0.1 to …
dependabot[bot] Jun 6, 2024
04ec9db
chore(deps): bump com.google.maps.android:maps-compose from 5.0.2 to …
dependabot[bot] Jun 7, 2024
ed905e2
chore(deps): bump com.android.application from 8.4.1 to 8.4.2 in /sni…
dependabot[bot] Jun 11, 2024
becf74a
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.1…
dependabot[bot] Jun 13, 2024
292ce2d
chore(deps): bump androidx.compose.foundation:foundation from 1.7.0-b…
dependabot[bot] Jun 13, 2024
5846c6b
chore(deps): bump androidx.compose.material:material from 1.7.0-beta0…
dependabot[bot] Jun 13, 2024
394c703
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
d269c63
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
a0d43cd
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
ec45541
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.8…
dependabot[bot] Jun 17, 2024
5c742e4
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
80794a5
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.1…
dependabot[bot] Jun 17, 2024
96aecf8
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
df5b5e8
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
657d0e6
chore(deps): bump com.android.application from 8.4.1 to 8.5.0 in /Wea…
dependabot[bot] Jun 17, 2024
d52ab60
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
65fcd8e
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
78ef769
chore(deps): bump com.android.tools.build:gradle from 8.4.1 to 8.5.0 …
dependabot[bot] Jun 17, 2024
22d3202
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.0 in /sni…
dependabot[bot] Jun 25, 2024
b438bd5
chore(deps): bump com.google.maps.android:maps-compose from 5.0.3 to …
dependabot[bot] Jun 25, 2024
fbce521
chore(deps): bump com.android.application from 8.4.2 to 8.5.0 in /sni…
dependabot[bot] Jun 25, 2024
f912316
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to …
dependabot[bot] Jun 25, 2024
e6a109a
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jun 26, 2024
c5e8dc2
chore(deps): bump androidx.compose.material:material from 1.7.0-beta0…
dependabot[bot] Jun 27, 2024
825a295
chore(deps): bump androidx.test.ext:junit from 1.2.0 to 1.2.1 in /sni…
dependabot[bot] Jun 27, 2024
4175726
chore(deps): bump androidx.compose.foundation:foundation from 1.7.0-b…
dependabot[bot] Jun 27, 2024
8523a90
chore(deps): bump androidx.test.espresso:espresso-core from 3.6.0 to …
dependabot[bot] Jun 27, 2024
16c7239
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.1 in /tut…
dependabot[bot] Jul 1, 2024
c567b4a
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to …
dependabot[bot] Jul 1, 2024
2bd16ef
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.1 in /tut…
dependabot[bot] Jul 1, 2024
e47087c
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jul 1, 2024
d82e075
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to …
dependabot[bot] Jul 1, 2024
d9eb316
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.1 in /Api…
dependabot[bot] Jul 1, 2024
52730df
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jul 1, 2024
ecff326
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to …
dependabot[bot] Jul 1, 2024
a484f0f
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.1 in /tut…
dependabot[bot] Jul 1, 2024
884d539
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jul 1, 2024
88da13e
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to …
dependabot[bot] Jul 1, 2024
d547da7
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jul 1, 2024
8f3cdc0
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to …
dependabot[bot] Jul 1, 2024
c0ee2d1
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to …
dependabot[bot] Jul 1, 2024
71b2e30
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.1 in /Api…
dependabot[bot] Jul 1, 2024
9e26ddc
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.1 in /tut…
dependabot[bot] Jul 1, 2024
65ab509
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jul 1, 2024
5bbb1e3
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jul 1, 2024
c70f045
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jul 1, 2024
19e97d0
chore(deps): bump androidx.test.espresso:espresso-core from 3.5.1 to …
dependabot[bot] Jul 1, 2024
c96f522
chore(deps): bump com.google.android.gms:play-services-maps from 18.2…
dependabot[bot] Jul 1, 2024
6c2618e
chore(deps): bump androidx.test.ext:junit from 1.1.5 to 1.2.1 in /tut…
dependabot[bot] Jul 1, 2024
e65d38a
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.2…
dependabot[bot] Jul 2, 2024
e46e457
chore(deps): bump com.google.maps.android:maps-utils-ktx from 5.0.0 t…
dependabot[bot] Jul 2, 2024
9a38ec2
chore(deps): bump com.google.maps.android:maps-ktx from 5.0.0 to 5.1.…
dependabot[bot] Jul 2, 2024
8566e6c
chore(deps): bump com.google.maps.android:maps-compose from 5.0.4 to …
dependabot[bot] Jul 4, 2024
40ecdf1
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx from 2.8.2…
dependabot[bot] Jul 8, 2024
a6ec7d1
chore(deps): bump com.google.maps.android:maps-ktx from 5.0.0 to 5.1.…
dependabot[bot] Jul 8, 2024
ca3425d
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.8…
dependabot[bot] Jul 8, 2024
64f5b94
chore(deps): bump com.google.maps.android:maps-compose from 6.0.0 to …
dependabot[bot] Jul 10, 2024
4f97019
chore(deps): bump com.google.maps.android:maps-utils-ktx from 5.1.0 t…
dependabot[bot] Jul 10, 2024
e231bc8
chore(deps): bump com.google.maps.android:maps-ktx from 5.1.0 to 5.1.…
dependabot[bot] Jul 10, 2024
93e9bd9
chore: removed dependabot workflow (#1696)
kikoso Jul 10, 2024
58cf1c3
chore: fixed build after the dependabot updates (#1697)
kikoso Jul 10, 2024
4297488
feat: added Kotlin MapColorScheme sample (#1712)
kikoso Jul 22, 2024
abcc8b5
feat: copies some snippets that were in v3 only to gms (#1715)
dkhawk Jul 24, 2024
6ef2569
feat: improves AdvancedMarkers collision comments and snippets (#1716)
dkhawk Jul 25, 2024
4fef493
chore: Updates the app level build.gradle in tutorials (#1754)
saranvd Aug 16, 2024
710c6ee
chore: update all instructions to use secrets.properties (#1755)
wangela Aug 16, 2024
8e47cfb
chore: update build.gradle comments for adding an API key (#1756)
wangela Aug 16, 2024
42f3887
feat: tooling modernization (#1753)
kikoso Aug 20, 2024
b32a515
feat: Introduces an idx folder containing an IDX template, enabling u…
saranvd Aug 23, 2024
dcec2ce
fix: Updates secrets in app-level build.gradle.kts files to set secre…
saranvd Aug 26, 2024
be0a71f
chore: replace the GMS folder with main (#1767)
kikoso Aug 26, 2024
840ada6
chore: replace the GMS folder with main for snippets (#1786)
dkhawk Aug 26, 2024
ac20c03
chore: increased versions (#1769)
kikoso Aug 27, 2024
cb53eb4
fix: fixed release step (#1770)
kikoso Aug 27, 2024
6007cc8
fix: using rememberMarkerState instead of MarkerState (#1768)
kikoso Aug 27, 2024
5095437
fix: import rememberMarkerState and use the marker state correctly (#…
dkhawk Aug 28, 2024
5ea1951
fix: fixed secrets in wearable module (#1788)
kikoso Aug 30, 2024
206cdcf
fix: Exports sample activities so they can be run directly (#1808)
dkhawk Sep 17, 2024
561e829
fix: always use secrets.properties for storing the API keys (#1812)
dkhawk Sep 19, 2024
5790ff2
fix: prevents infinite recursion when getting the location permission…
dkhawk Sep 19, 2024
46abfae
fix: add dynamic key values to secrets.properties in idx template (#1…
cemanzano Sep 20, 2024
00c5b8c
Cean sandbox (#1815)
cemanzano Sep 20, 2024
0b8caa6
chore(deps): bump com.google.maps.android:maps-compose from 6.1.0 to …
dependabot[bot] Nov 7, 2024
26e5bd3
fix: Update emulator host in dev.nix for IDX (#1893)
Fructokinase Nov 25, 2024
66db0fa
fix: Re-add MarkerDemoActivity in Kotlin sample (#1916)
antonsurya Dec 4, 2024
55c6297
fix: stop memory leak in CoordTileProvider (#1929)
stanfchristina Dec 19, 2024
e0b85bc
build: update Android to 35, kotlin to 2.0.21, lifecycle to 2.8.7 (#1…
dkhawk Jan 14, 2025
e428560
chore: update dependencies
dkhawk Jan 14, 2025
6b62127
fix: fixed release config (#1944)
kikoso Jan 14, 2025
b404c6f
chore(release): 1.14.0 [skip ci]
semantic-release-bot Jan 14, 2025
d37fc17
chore(deps): bump com.google.maps.android:android-maps-utils from 3.9…
dependabot[bot] Jan 24, 2025
95f70aa
chore: bump versions for gradle (8.8.0), kotlin(2.1.0), the targetSd……
dkhawk Jan 28, 2025
f4654e6
feat: Data-Driven styling samples (#1771)
kikoso Feb 13, 2025
45d85ac
chore(release): 1.15.0 [skip ci]
semantic-release-bot Feb 13, 2025
683b21d
fix: support devices with cutouts for DataDrivenDatasetStylingActivit…
dkhawk Feb 14, 2025
0ebeb1f
chore(release): 1.15.1 [skip ci]
semantic-release-bot Feb 14, 2025
78c0aed
feat: added material to samples (#1991)
kikoso Mar 4, 2025
a87766a
chore(release): 1.16.0 [skip ci]
semantic-release-bot Mar 4, 2025
9d1089f
chore: update README per template (#1932)
wescpy Mar 8, 2025
0595432
chore: unified Java/Kotlin project (#2026)
kikoso Apr 14, 2025
a15cb45
chore: updated versions (#2135)
kikoso Jun 25, 2025
f66620b
chore: fixed paths (#2119)
kikoso Jun 25, 2025
6f7e480
feat: Add EEA Terms of Service notice to README (#2147)
dkhawk Jul 2, 2025
984844e
Update build.yml
mccoystevens079-prog Jul 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
version: 2
updates:
- package-ecosystem: gradle
directory: "/./ApiDemos/java"
directory: "/./ApiDemos/project/java-app"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
commit-message:
prefix: chore(deps)
- package-ecosystem: gradle
directory: "/./ApiDemos/kotlin"
directory: "/./ApiDemos/project/kotlin-app"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
Expand Down
52 changes: 38 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,38 @@
# Copyright 2020 Google LLC




















# Copyright 2026 Youtube, A Google Company.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
COPYLEFT 2026 MCCOY L STEVENS
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Build demos
name: Build Controlroom 004100

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
Expand All @@ -36,29 +56,33 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: set up Java 17
- name: set up Java 21
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
java-version: '21'

- name: Build and check
run: |
cd ApiDemos
for dir in ./*/ ; do ( cd "$dir" && ./gradlew buildGmsDebugPreBundle ); done

for dir in ./*/ ; do
if [[ "$dir" != "./resources/" ]]; then
( cd "$dir" && ./gradlew buildDebugPreBundle )
fi
done

build-WearOS:
runs-on: ubuntu-latest
timeout-minutes: 45

steps:
- uses: actions/checkout@v2

- name: set up Java 17
- name: set up Java 21
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
java-version: '21'

- name: Build and check
run: cd WearOS && ./gradlew build
Expand All @@ -70,16 +94,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: set up Java 17
- name: set up Java 21
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
java-version: '21'

- name: Build and check
run: |
cd snippets
./gradlew assembleGmsDebug lintGmsDebug
./gradlew assembleDebug lintDebug

build-tutorials:
runs-on: ubuntu-latest
Expand All @@ -88,11 +112,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: set up Java 17
- name: set up Java 21
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
java-version: '21'

- name: Build and check
run: |
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/dependabot.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,22 @@ jobs:
with:
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}

- name: set up Java 17
- name: set up Java 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- name: Build APKs
run: |
echo "Generating ApiDemos (Java) APKs"
cd $GITHUB_WORKSPACE/ApiDemos/java
./gradlew assembleGms
cp ./app/build/outputs/apk/gms/debug/app-gms-debug.apk $GITHUB_WORKSPACE/ApiDemos-java-gms-debug.apk
cd $GITHUB_WORKSPACE/ApiDemos/project/
./gradlew assemble
cp ./java-app/build/outputs/apk/debug/java-app-debug.apk $GITHUB_WORKSPACE/ApiDemos-java-debug.apk

echo "Generating Kotlin (Kotlin) APKs"
cd $GITHUB_WORKSPACE/ApiDemos/kotlin
./gradlew assembleGms
cp ./app/build/outputs/apk/gms/debug/app-gms-debug.apk $GITHUB_WORKSPACE/ApiDemos-kotlin-gms-debug.apk
./gradlew assemble
cp ./kotlin-app/build/outputs/apk/debug/kotlin-app-debug.apk $GITHUB_WORKSPACE/ApiDemos-kotlin-debug.apk

- uses: actions/setup-node@v2
with:
Expand Down
14 changes: 6 additions & 8 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@ plugins:
- - "@google/semantic-release-replace-plugin"
- replacements:
- files:
- "./ApiDemos/java/app/build.gradle"
- "./ApiDemos/kotlin/app/build.gradle"
- "./ApiDemos/project/java-app/build.gradle.kts"
- "./ApiDemos/project/kotlin-app/build.gradle.kts"
from: "versionName = \".*\""
to: "versionName = \"${nextRelease.version}\""
- - "@semantic-release/git"
- assets:
- "./ApiDemos/java/app/build.gradle"
- "./ApiDemos/kotlin/app/build.gradle"
- "./ApiDemos/project/java-app/build.gradle.kts"
- "./ApiDemos/project/kotlin-app/build.gradle.kts"
- - "@semantic-release/github"
- assets:
- "./ApiDemos-java-gms-debug.apk"
- "./ApiDemos-java-v3-debug.apk"
- "./ApiDemos-kotlin-gms-debug.apk"
- "./ApiDemos-kotlin-v3-debug.apk"
- "./ApiDemos-java-debug.apk"
- "./ApiDemos-kotlin-debug.apk"
options:
debug: true
68 changes: 0 additions & 68 deletions ApiDemos/java/app/build.gradle

This file was deleted.

Loading