File tree Expand file tree Collapse file tree 6 files changed +171
-0
lines changed
Expand file tree Collapse file tree 6 files changed +171
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "categories" : [
3+ {
4+ "title" : " ## 💡 Features" ,
5+ "labels" : [
6+ " feature" ,
7+ " enhancement"
8+ ]
9+ },
10+ {
11+ "title" : " ## 🐛 Fixes" ,
12+ "labels" : [
13+ " fix" ,
14+ " bug"
15+ ]
16+ },
17+ {
18+ "title" : " ## 💬 Maintenance" ,
19+ "labels" : [
20+ " maintenance"
21+ ]
22+ }
23+ ],
24+ "ignore_labels" : [
25+ " dependencies" ,
26+ " gradle-wrapper"
27+ ],
28+ "sort" : " ASC" ,
29+ "template" : " ${{CHANGELOG}}" ,
30+ "pr_template" : " - ${{TITLE}} #${{NUMBER}}" ,
31+ "empty_template" : " - no changes"
32+ }
Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+ version : 2
7+ updates :
8+ - package-ecosystem : " gradle" # See documentation for possible values
9+ directory : " /" # Location of package manifests
10+ schedule :
11+ interval : " daily"
12+ - package-ecosystem : " github-actions"
13+ directory : " /" # Location of package manifests
14+ schedule :
15+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ build :
10+ name : Publish release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+ with :
16+ fetch-depth : 0
17+ - name : Install JDK ${{ matrix.java_version }}
18+ uses : actions/setup-java@v3
19+ with :
20+ distribution : ' adopt'
21+ java-version : 11
22+ - name : Build Changelog
23+ id : github_release
24+ uses : mikepenz/release-changelog-builder-action@main
25+ with :
26+ configuration : " .github/changelog-configuration.json"
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ - name : Get the version
30+ id : tagger
31+ uses : jimschubert/query-tag-action@v2
32+ with :
33+ skip-unshallow : ' true'
34+ abbrev : false
35+ commit-ish : HEAD
36+ - name : Install Android SDK
37+ uses : malinskiy/action-android/install-sdk@release/0.1.2
38+ - name : Build project
39+ run : ./gradlew assembleRelease
40+ env :
41+ VERSION : ${{steps.tagger.outputs.tag}}
42+ - name : Create Release
43+ uses : softprops/action-gh-release@v1
44+ with :
45+ tag_name : ${{steps.tagger.outputs.tag}}
46+ prerelease : ${{steps.tagger.outputs.tag}} == *"alpha"* || ${{steps.tagger.outputs.tag}} == *"beta"*
47+ name : ${{steps.tagger.outputs.tag}}
48+ body : ${{steps.github_release.outputs.changelog}}
49+ files : |
50+ ./libStream/build/outputs/aar/libStream*.aar
51+ env :
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ BuildTest :
13+ name : Build and test JDK ${{ matrix.java_version }}
14+ runs-on : macOS-latest
15+ strategy :
16+ matrix :
17+ java_version : [11]
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v3
21+ - name : Install JDK ${{ matrix.java_version }}
22+ uses : actions/setup-java@v2
23+ with :
24+ distribution : ' adopt'
25+ java-version : ${{ matrix.java_version }}
26+ - name : Install Android SDK
27+ uses : malinskiy/action-android/install-sdk@release/0.1.2
28+ - name : Build project
29+ run : ./gradlew assembleDebug
30+ - name : gradle check
31+ run : ./gradlew check
32+ - name : Archive Lint report
33+ uses : actions/upload-artifact@v3
34+ if : ${{ always() }}
35+ with :
36+ name : Logcat-Lint-report
37+ path : sample/build/reports/lint-results.html
Original file line number Diff line number Diff line change 1+ name : " Validate Gradle Wrapper"
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ validation :
13+ name : " Validation"
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v3
17+ - uses : gradle/wrapper-validation-action@v1
Original file line number Diff line number Diff line change 1+ name : Update Gradle Wrapper
2+
3+ on :
4+ schedule :
5+ - cron : " 0 6 * * MON"
6+
7+ jobs :
8+ update-gradle-wrapper :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v3
13+
14+ - name : Update Gradle Wrapper
15+ uses : gradle-update/update-gradle-wrapper-action@v1
16+ with :
17+ repo-token : ${{ secrets.GITHUB_TOKEN }}
18+ set-distribution-checksum : false
You can’t perform that action at this time.
0 commit comments