-
Notifications
You must be signed in to change notification settings - Fork 0
90 lines (89 loc) · 2.82 KB
/
release-osc-api.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Outscale API release
on:
release:
types: [released]
jobs:
osc-sdk-go:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Getting release details
id: release
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Trigger osc-sdk-go build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_GO }}
API_VERSION: ${{ steps.release.outputs.TAG }}
run: .github/scripts/build-osc-sdk.sh osc-sdk-go v2
osc-sdk-python:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Getting release details
id: release
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Trigger osc-sdk-python build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_PYTHON }}
API_VERSION: ${{ steps.release.outputs.TAG }}
run: .github/scripts/build-osc-sdk.sh osc-sdk-python
osc-sdk-rust:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Getting release details
id: release
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Trigger osc-sdk-rust build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_RUST }}
API_VERSION: ${{ steps.release.outputs.TAG }}
run: .github/scripts/build-osc-sdk.sh osc-sdk-rust
osc-sdk-c:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Getting release details
id: release
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Trigger osc-sdk-C build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_C }}
API_VERSION: ${{ steps.release.outputs.TAG }}
run: .github/scripts/build-osc-sdk.sh osc-sdk-c
osc-sdk-js:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Getting release details
id: release
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Trigger osc-sdk-js build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_JS }}
API_VERSION: ${{ steps.release.outputs.TAG }}
run: .github/scripts/build-osc-sdk.sh osc-sdk-js main
osc-sdk-java:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Getting release details
id: release
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Trigger osc-sdk-java build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_OSC_SDK_JAVA }}
API_VERSION: ${{ steps.release.outputs.TAG }}
run: .github/scripts/build-osc-sdk.sh osc-sdk-java main