-
Notifications
You must be signed in to change notification settings - Fork 3
63 lines (52 loc) · 1.7 KB
/
allocator-api-publish.yaml
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
name: Publish allocator api
on:
workflow_dispatch:
jobs:
all-tests:
runs-on: self-hosted
timeout-minutes: 60
defaults:
run:
shell: bash -l {0}
steps:
- name: "Chown for checkout"
run: sudo chown -R $USER:$USER /home/ubuntu/actions-runner/_work/lzy/
- name: "Checkout"
uses: actions/checkout@v3
- name: "Setup maven settings"
uses: s4u/maven-settings-action@v2.6.0
with:
servers: |
[{
"id": "repsy",
"username": "lzy",
"password": "${{ secrets.REPSY_PASSWORD }}"
}]
- name: "Publish parent"
timeout-minutes: 10
run: |
cd parent/ && mvn clean deploy --also-make-dependents && cd ..
- name: "Publish util-grpc"
timeout-minutes: 10
run: |
cd util/util-grpc/ && mvn clean deploy --also-make-dependents && cd ../..
- name: "Publish util-auth"
timeout-minutes: 10
run: |
cd util/util-auth/ && mvn clean deploy --also-make-dependents && cd ../..
- name: "Publish operation api"
timeout-minutes: 10
run: |
cd long-running-api/ && mvn clean deploy --also-make-dependents && cd ..
- name: "Publish allocator api"
timeout-minutes: 10
run: |
cd lzy/allocator-api/ && mvn clean deploy --also-make-dependents && cd ../..
- name: "Publish model"
timeout-minutes: 10
run: |
cd model/ && mvn clean deploy --also-make-dependents && cd ..
- name: "Publish whiteboard api"
timeout-minutes: 10
run: |
cd whiteboard-api/ && mvn clean deploy --also-make-dependents && cd ..