Fix darwin builds (#24)

* Update wownero_libwallet2_api_c.exp
This commit is contained in:
cyan
2024-07-30 20:22:25 +02:00
committed by GitHub
parent 4b4e434c25
commit 0737e1a7a1
5 changed files with 42 additions and 6 deletions

View File

@@ -27,12 +27,31 @@ jobs:
else
exit 1
fi
- uses: actions/github-script@v7
continue-on-error: true
id: get_issue_number
with:
script: |
if (context.issue.number) {
// Return issue number if present
return context.issue.number;
} else {
// Otherwise return issue number from commit
return (
await github.rest.repos.listPullRequestsAssociatedWithCommit({
commit_sha: context.sha,
owner: context.repo.owner,
repo: context.repo.repo,
})
).data[0].number;
}
result-encoding: string
- name: Create or update comment
continue-on-error: true
if: failure()
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
issue-number: ${{steps.get_issue_number.outputs.result}}
body: |
Invalid bindings found in monero.dart, make sure to run `./impls/monero.dart/update_bindings.sh`