File tree Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 1
- name : Publish Android & KMMBridge
1
+ name : Publish Android
2
2
3
3
on :
4
4
push :
9
9
- ' shared/**'
10
10
- " .github/workflows/**"
11
11
12
- env :
13
- MAVEN_USERNAME : ${{ secrets.REPSY_USERNAME }}
14
- MAVEN_PASSWORD : ${{ secrets.REPSY_PASSWORD }}
15
-
16
12
jobs :
17
13
build :
18
14
runs-on : ubuntu-22.04
31
27
32
28
- name : Build
33
29
run : |
34
- ./gradlew :androidApp:assembleGithubRelease kmmBridgePublish
30
+ ./gradlew :androidApp:assembleGithubRelease
35
31
36
32
- uses : actions/upload-artifact@v3
37
33
with :
Original file line number Diff line number Diff line change
1
+ name : Publish KMMBridge
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ env :
7
+ MAVEN_USERNAME : ${{ secrets.REPSY_USERNAME }}
8
+ MAVEN_PASSWORD : ${{ secrets.REPSY_PASSWORD }}
9
+
10
+ jobs :
11
+ kmm-publish :
12
+ runs-on : ubuntu-22.04
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+
16
+ - uses : actions/setup-java@v3
17
+ with :
18
+ distribution : ' zulu'
19
+ java-version : 17
20
+
21
+ - name : Setup Gradle
22
+
23
+ with :
24
+ gradle-home-cache-cleanup : true
25
+
26
+ - name : Build
27
+ run :
28
+ ./gradlew -PENABLE_PUBLISHING=true -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} -PGITHUB_REPO=${{ github.repository }} kmmBridgePublish
29
+
You can’t perform that action at this time.
0 commit comments