This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (64 loc) · 2.17 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Deploy
on:
workflow_dispatch:
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
jobs:
deploy-linux:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
cache: gradle
- name: Linux deploy
run: |
./gradlew publish --no-daemon --stacktrace
deploy-macos:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
cache: gradle
- name: MacOS deploy
run: |
./gradlew \
publishIosArm64PublicationToMavenRepository \
publishIosSimulatorArm64PublicationToMavenRepository \
publishIosX64PublicationToMavenRepository \
publishMacosArm64PublicationToMavenRepository \
publishMacosX64PublicationToMavenRepository \
publishWatchosArm32PublicationToMavenRepository \
publishWatchosArm64PublicationToMavenRepository \
publishWatchosSimulatorArm64PublicationToMavenRepository \
publishWatchosX64PublicationToMavenRepository \
publishTvosArm64PublicationToMavenRepository \
publishTvosSimulatorArm64PublicationToMavenRepository \
publishTvosX64PublicationToMavenRepository \
--no-daemon --stacktrace
deploy-windows:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
cache: gradle
- name: Windows deploy
run: |
./gradlew publishMingwX64PublicationToMavenRepository --no-daemon --stacktrace