File tree 6 files changed +157
-0
lines changed
6 files changed +157
-0
lines changed 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
+ changelog :
2
+ exclude :
3
+ labels :
4
+ - ignore-for-release
5
+ authors :
6
+ - someuser
7
+ categories :
8
+ - title : Breaking Changes 🛠
9
+ labels :
10
+ - breaking-change
11
+ - title : Exciting New Features 🎉
12
+ labels :
13
+ - enhancement
14
+ - title : Other Changes
15
+ labels :
16
+ - " *"
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 : Get the version
18
+ id : tagger
19
+ uses : jimschubert/query-tag-action@v2
20
+ with :
21
+ skip-unshallow : ' true'
22
+ abbrev : false
23
+ commit-ish : HEAD
24
+ - name : Check pre-release
25
+ run : |
26
+ echo "tag=${{steps.tagger.outputs.tag}}"
27
+ if [[ ${{ steps.tagger.outputs.tag }} == *alpha* || ${{ steps.tagger.outputs.tag }} == *beta* ]]
28
+ then
29
+ prerelease=true
30
+ else
31
+ prerelease=false
32
+ fi
33
+ echo "PRE_RELEASE=$prerelease" >> $GITHUB_ENV
34
+ echo "prerelease=$prerelease"
35
+ - name : Install JDK ${{ matrix.java_version }}
36
+ uses : actions/setup-java@v3
37
+ with :
38
+ distribution : ' adopt'
39
+ java-version : 11
40
+ - name : Install Android SDK
41
+ uses : malinskiy/action-android/install-sdk@release/0.1.4
42
+ - name : Build project
43
+ run : ./gradlew assembleRelease
44
+ env :
45
+ VERSION : ${{steps.tagger.outputs.tag}}
46
+ - name : Create Release
47
+ uses : softprops/action-gh-release@v1
48
+ with :
49
+ tag_name : ${{steps.tagger.outputs.tag}}
50
+ prerelease : ${{ env.PRE_RELEASE }}
51
+ name : ${{steps.tagger.outputs.tag}}
52
+ generate_release_notes : true
53
+ files : |
54
+ ./libStream/build/outputs/aar/libStream*.aar
55
+ env :
56
+ 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
+
9
+ jobs :
10
+ BuildTest :
11
+ name : Build and test JDK ${{ matrix.java_version }}
12
+ runs-on : macOS-latest
13
+ strategy :
14
+ matrix :
15
+ java_version : [11]
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+ - name : Install JDK ${{ matrix.java_version }}
20
+ uses : actions/setup-java@v2
21
+ with :
22
+ distribution : ' adopt'
23
+ java-version : ${{ matrix.java_version }}
24
+ - name : Install Android SDK
25
+ uses : malinskiy/action-android/install-sdk@release/0.1.2
26
+ - name : Build project
27
+ run : ./gradlew assembleDebug
28
+ # - name: gradle check
29
+ # run: ./gradlew check
30
+ # - name: Archive Lint report
31
+ # uses: actions/upload-artifact@v3
32
+ # if: ${{ always() }}
33
+ # with:
34
+ # name: Logcat-Lint-report
35
+ # 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