@@ -15,12 +15,15 @@ jobs:
15
15
outputs :
16
16
# The packages that use Uniffi bindings
17
17
ffi_packages : ${{ steps.set_ffi_packages.outputs.ffi_packages }}
18
+ # The API client packages
19
+ api_packages : ${{ steps.set_api_packages.outputs.api_packages }}
18
20
steps :
19
21
- id : set_ffi_packages
20
22
run : echo 'ffi_packages=["algokit_transact"]' >> $GITHUB_OUTPUT
23
+ - id : set_api_packages
24
+ run : echo 'api_packages=["algod_api"]' >> $GITHUB_OUTPUT
21
25
22
26
typescript_wasm_ci_cd :
23
- concurrency : ${{ github.event_name == 'push' && format('cd-{0}', github.ref) || format('ci-typescript_wasm-{0}', github.run_id) }}
24
27
needs : setup
25
28
uses : ./.github/workflows/typescript_wasm_ci_cd.yml
26
29
strategy :
@@ -32,10 +35,12 @@ jobs:
32
35
secrets :
33
36
BOT_ID : ${{ secrets.BOT_ID }}
34
37
BOT_SK : ${{ secrets.BOT_SK }}
38
+ NPM_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This is used because the GitHub NPM package registry doesn't support GitHub App tokens
35
39
36
40
python_uniffi_ci_cd :
37
- concurrency : ${{ github.event_name == 'push' && format('cd-{0}', github.ref) || format('ci-python_uniffi-{0}', github.run_id) }}
38
- needs : setup
41
+ needs :
42
+ - setup
43
+ - typescript_wasm_ci_cd
39
44
uses : ./.github/workflows/python_uniffi_ci_cd.yml
40
45
strategy :
41
46
matrix :
46
51
secrets :
47
52
BOT_ID : ${{ secrets.BOT_ID }}
48
53
BOT_SK : ${{ secrets.BOT_SK }}
54
+
55
+ typescript_api_ci_cd :
56
+ needs :
57
+ - setup
58
+ - python_uniffi_ci_cd
59
+ uses : ./.github/workflows/typescript_api_client_ci_cd.yml
60
+ strategy :
61
+ matrix :
62
+ api : ${{ fromJSON(needs.setup.outputs.api_packages) }}
63
+ with :
64
+ api : ${{ matrix.api }}
65
+ release : ${{ github.event_name == 'push' }}
66
+ secrets :
67
+ BOT_ID : ${{ secrets.BOT_ID }}
68
+ BOT_SK : ${{ secrets.BOT_SK }}
69
+ NPM_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This is used because the GitHub NPM package registry doesn't support GitHub App tokens
70
+
71
+ python_api_ci_cd :
72
+ needs :
73
+ - setup
74
+ - typescript_api_ci_cd
75
+ uses : ./.github/workflows/python_api_client_ci_cd.yml
76
+ strategy :
77
+ matrix :
78
+ api : ${{ fromJSON(needs.setup.outputs.api_packages) }}
79
+ with :
80
+ api : ${{ matrix.api }}
81
+ release : ${{ github.event_name == 'push' }}
82
+ secrets :
83
+ BOT_ID : ${{ secrets.BOT_ID }}
84
+ BOT_SK : ${{ secrets.BOT_SK }}
0 commit comments