File tree Expand file tree Collapse file tree 3 files changed +93
-0
lines changed
Expand file tree Collapse file tree 3 files changed +93
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ #
3+ # Copyright 2019 Google LLC
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+
18+ org.gradle.daemon =false
19+ org.gradle.parallel =true
20+ org.gradle.jvmargs =-Xmx4096m -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError
21+ org.gradle.workers.max =2
22+ kotlin.compiler.execution.strategy =in-process
Original file line number Diff line number Diff line change 1+ name-template : ' v$NEXT_PATCH_VERSION 🌈'
2+ tag-template : ' v$NEXT_PATCH_VERSION'
3+ template : |
4+ ## What’s Changed
5+ $CHANGES
Original file line number Diff line number Diff line change 1+ name : Snapshots
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+ push :
8+ branches :
9+ - master
10+
11+ env :
12+ JAVA_TOOL_OPTIONS : -Xmx5120m
13+ TERM : dumb
14+ releaseStorePassword : ${{ secrets.RELEASESTOREPASSWORD }}
15+ releaseKeyPassword : ${{secrets.KEY_PASSWORD}}
16+ releaseKeyAlias : ${{secrets.KEY_ALIAS}}
17+ FIREBASE_TOKEN : ${{secrets.FIREBASE_TOKEN}}
18+
19+ jobs :
20+ update_draft_release :
21+ name : Draft Release
22+ runs-on : ubuntu-latest
23+
24+ steps :
25+ - uses : release-drafter/release-drafter@v5
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+
29+ build :
30+ if : " !contains(github.event.head_commit.message, 'skip ci')"
31+
32+ name : Build Debug
33+ runs-on : ubuntu-latest
34+
35+ steps :
36+
37+ - uses : actions/checkout@v2
38+
39+ - name : Copy CI gradle.properties
40+ run : mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
41+
42+ - name : set up JDK
43+ uses : actions/setup-java@v1
44+ with :
45+ java-version : 1.8
46+
47+ - name : Save/Restore Cache
48+ uses : actions/cache@v2
49+ with :
50+ path : |
51+ ~/.gradle/caches/modules-*
52+ ~/.gradle/caches/jars-*
53+ ~/.gradle/caches/build-cache-*
54+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
55+ restore-keys : ${{ runner.os }}-gradle-
56+
57+ - name : Upload Annotations
58+ run : ./gradlew build
59+
60+ # The USERNAME and TOKEN need to correspond to the credentials environment variables used in
61+ # the publishing section of your build.gradle
62+ - name : Publish to GitHub Packages
63+ run : ./gradlew publish
64+ env :
65+ USERNAME : ${{ github.actor }}
66+ TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments