File tree Expand file tree Collapse file tree 5 files changed +130
-0
lines changed
Expand file tree Collapse file tree 5 files changed +130
-0
lines changed Original file line number Diff line number Diff line change 1+ # Lines starting with '#' are comments.
2+ # Each line is a file pattern followed by one or more owners.
3+
4+ # More details are here: https://help.github.com/articles/about-codeowners/
5+
6+ # The '*' pattern is global owners.
7+ # Not adding in this PR, but I'd like to try adding a global owner set with the entire team.
8+ # One interpretation of their docs is that global owners are added only if not removed
9+ # by a more local rule.
10+
11+ # Order is important. The last matching pattern has the most precedence.
12+ # The folders are ordered as follows:
13+
14+ # In each subsection folders are ordered first by depth, then alphabetically.
15+ # This should make it easy to add new rules without breaking existing ones.
16+ * @ skydoves
Original file line number Diff line number Diff line change 1+ ### 🎯 Goal
2+ Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
3+
4+ ### 🛠 Implementation details
5+ Describe the implementation details for this Pull Request.
6+
7+ ### ✍️ Explain examples
8+ Explain examples with code for this updates.
9+
10+ ### Preparing a pull request for review
11+ Ensure your change is properly formatted by running:
12+
13+ ``` gradle
14+ $ ./gradlew spotlessApply
15+ ```
16+
17+ Please correct any failures before requesting a review.
Original file line number Diff line number Diff line change 1+ name : Android CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : set up JDK
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 11
19+
20+ - name : Cache Gradle and wrapper
21+ uses : actions/cache@v2
22+ with :
23+ path : |
24+ ~/.gradle/caches
25+ ~/.gradle/wrapper
26+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
27+ restore-keys : |
28+ ${{ runner.os }}-gradle-
29+ - name : Make Gradle executable
30+ run : chmod +x ./gradlew
31+
32+ - name : Build with Gradle
33+ run : ./gradlew build
Original file line number Diff line number Diff line change 1+ name : Publish Snapshot builds
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ publish :
10+ name : Snapshot build and publish
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Check out code
14+ uses : actions/checkout@v2
15+ - name : Set up JDK 11
16+ uses : actions/setup-java@v2
17+ with :
18+ distribution : adopt
19+ java-version : 11
20+ - name : Release build
21+ run : ./gradlew assemble --scan
22+ - name : Source jar and dokka
23+ run : ./gradlew androidSourcesJar javadocJar --scan
24+ - name : Publish to MavenCentral
25+ run : ./gradlew publishReleasePublicationToSonatypeRepository --scan
26+ env :
27+ OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
28+ OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
29+ SIGNING_KEY_ID : ${{ secrets.SIGNING_KEY_ID }}
30+ SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
31+ SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
32+ SONATYPE_STAGING_PROFILE_ID : ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
33+ SNAPSHOT : true
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ release :
5+ types : [released]
6+
7+ jobs :
8+ publish :
9+ name : Release build and publish
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Check out code
13+ uses : actions/checkout@v2
14+ - name : Set up JDK 11
15+ uses : actions/setup-java@v2
16+ with :
17+ distribution : adopt
18+ java-version : 11
19+ - name : Release build
20+ run : ./gradlew assemble --scan
21+ - name : Source jar and dokka
22+ run : ./gradlew androidSourcesJar javadocJar --scan
23+ - name : Publish to MavenCentral
24+ run : ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository --scan
25+ env :
26+ OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
27+ OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
28+ SIGNING_KEY_ID : ${{ secrets.SIGNING_KEY_ID }}
29+ SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
30+ SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
31+ SONATYPE_STAGING_PROFILE_ID : ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
You can’t perform that action at this time.
0 commit comments