-
Notifications
You must be signed in to change notification settings - Fork 59
58 lines (53 loc) · 1.57 KB
/
main.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
name: Cloud-Pipeline-Distribution
concurrency: Cloud-Pipeline-Distribution
on:
push:
branches:
- develop
- 'release/**'
- 'stage/**'
- 'ci/**'
workflow_dispatch:
env:
CLOUD_PIPELINE_BUILD_NUMBER_SEED: 30000
jobs:
CLI_MacOS:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '8'
- uses: actions/setup-python@v2
with:
python-version: '2.7'
architecture: 'x64'
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- run: bash deploy/github_actions/gha_build_macos.sh
Build_All:
runs-on: ubuntu-20.04
needs: CLI_MacOS
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '8'
- uses: actions/setup-python@v2
with:
python-version: '2.7.18'
architecture: 'x64'
- uses: actions/setup-node@v3
with:
node-version: 14
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- run: sudo -E PATH=$PATH bash deploy/github_actions/gha_pack_dist.sh