File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 12
12
13
13
env :
14
14
C_SDK_URL : ' https://github.com/LedgerHQ/ledger-secure-sdk.git'
15
- RUST_SDK_URL : ' https://github.com/LedgerHQ/ledger-device-rust-sdk.git'
16
15
17
16
jobs :
18
17
how-workflow-is-called :
25
24
- name : Get repository and branch
26
25
id : get_repo_and_branch
27
26
run : |
28
- if [ -n "${{ github.event. inputs.c_sdk_branch }}" ]; then
29
- echo "repo=$RUST_SDK_URL " >> $GITHUB_OUTPUT
27
+ if [ -n "${{ inputs.c_sdk_branch }}" ]; then
28
+ echo "repo='LedgerHQ/ledger-device-rust-sdk' " >> $GITHUB_OUTPUT
30
29
echo "branch='refs/heads/master'" >> $GITHUB_OUTPUT
31
30
else
32
31
echo "repo=${{ github.repository}}" >> $GITHUB_OUTPUT
@@ -135,8 +134,8 @@ jobs:
135
134
- name : Build
136
135
run : |
137
136
# Clone C SDK if provided
138
- if [ -n "${{ github.event. inputs.c_sdk_branch }}" ]; then
139
- git clone $C_SDK_URL --branch ${{ github.event. inputs.c_sdk_branch }} --single-branch c_sdk
137
+ if [ -n "${{ inputs.c_sdk_branch }}" ]; then
138
+ git clone $C_SDK_URL --branch ${{ inputs.c_sdk_branch }} --single-branch c_sdk
140
139
echo "setting LEDGER_SDK_PATH to $(realpath c_sdk)"
141
140
LEDGER_SDK_PATH=$(realpath c_sdk)
142
141
else
You can’t perform that action at this time.
0 commit comments