Skip to content

Commit 21e8b29

Browse files
committed
add manual publish
1 parent e602608 commit 21e8b29

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/manual_publish.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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

0 commit comments

Comments
 (0)