File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed
Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -44,25 +44,34 @@ runs:
4444 ORIGIN="$(pwd)"
4545 cd ${{ inputs.directory }}
4646 git switch ${{ inputs.branch }} 2>/dev/null || git switch -c ${{ inputs.branch }}
47+ echo "-----------------------------------------------------------"
48+ echo "Initial repo status"
4749 git status
4850 CHANGES="$(git status --porcelain ${{ inputs.files }})"
4951 if [ -z "${CHANGES}" ]; \
5052 then \
53+ echo "-----------------------------------------------------------"; \
5154 echo "No changes, stopping now"; \
52- echo "::save-state name= COMMIT:: NO"; \
55+ echo "COMMIT= NO" > $GITHUB_ENV ; \
5356 cd "${ORIGIN}"; \
5457 exit 0; \
5558 fi
5659 echo -e "Changes:\n${CHANGES}"
5760 git add ${{ inputs.files }}
61+ echo "-----------------------------------------------------------"
62+ echo "Repo status before commit"
63+ git status
5864 git commit -am "${{ inputs.message }}"
59- echo "::save-state name= COMMIT:: YES"
65+ echo "COMMIT= YES" > $GITHUB_ENV
6066 git log -n 2
6167 cd "${ORIGIN}"
6268 shell : bash
6369
70+ - run : echo "${{ env.COMMIT }}"
71+ shell : bash
72+
6473 - name : Push commit
65- if : ${{ steps.commit.state .COMMIT == 'YES' }}
74+ if : ${{ env .COMMIT == 'YES' }}
6675 uses : ad-m/github-push-action@master
6776 with :
6877 github_token : ${{ inputs.secret }}
Original file line number Diff line number Diff line change 5050 branch : ${{ steps.extract_branch.outputs.branch }}
5151 message : " [update][SDK] Branch ${{ steps.extract_branch.outputs.branch }} | Commit ${GITHUB_SHA}"
5252 secret : ${{ secrets.CI_BOT_TOKEN }}
53- repository : LedgerHQ/ethereum-plugin-sdk
53+ repository : LedgerHQ/app-ethereum
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ typedef enum {
1212 ETH_PLUGIN_INTERFACE_VERSION_1 = 1 ,
1313 ETH_PLUGIN_INTERFACE_VERSION_2 = 2 ,
1414 ETH_PLUGIN_INTERFACE_VERSION_3 = 3 ,
15- ETH_PLUGIN_INTERFACE_VERSION_LATEST = 4 ,
15+ ETH_PLUGIN_INTERFACE_VERSION_4 = 4 ,
16+ ETH_PLUGIN_INTERFACE_VERSION_LATEST = 5 ,
1617} eth_plugin_interface_version_t ;
1718
1819typedef enum {
You can’t perform that action at this time.
0 commit comments