File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : manual_publish
2
+
3
+ on : workflow_dispatch
4
+ jobs :
5
+ build :
6
+ runs-on : ubuntu-latest
7
+
8
+ steps :
9
+ - uses : actions/checkout@v1
10
+
11
+ - name : Java Set-Up
12
+ uses : actions/setup-java@v2
13
+
14
+ with :
15
+ distribution : " adopt"
16
+ java-version : " 8"
17
+
18
+ - name : Set up secrets
19
+ run : ' echo "$NPM_AUTH" >> ~/.npmrc'
20
+
21
+ env :
22
+ NPM_AUTH : ${{secrets.NPM_AUTH}}
23
+
24
+ - name : NodeJS Set-Up
25
+ uses : actions/setup-node@v2
26
+ with :
27
+ node-version : " 16"
28
+ cache : ' yarn'
29
+
30
+ - name : Yarn install
31
+ run : yarn install
32
+
33
+ - name : Gradle Build
34
+ run : /bin/sh ./gradlew build
35
+
36
+ - name : Gradle Publish
37
+ run : /bin/sh ./gradlew -Pjourneymap.user=${{ secrets.JOURNEYMAP_USER }} -Pjourneymap.password=${{ secrets.JOURNEYMAP_PASSWORD }} publish
You can’t perform that action at this time.
0 commit comments