Skip to content

Commit

Permalink
chore: add scheduled workflow & fix android test (#672)
Browse files Browse the repository at this point in the history
* chore: add scheduled workflow to run every Monday at 00:30 UTC

* fix test
  • Loading branch information
overcat authored Jan 29, 2025
1 parent 4d7b5e9 commit 6104e7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
release:
types:
- created
schedule:
# Every Monday at 00:30 UTC
- cron: '30 0 * * 1'

env:
JAVA_VERSION: '21'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private fun testSDK(): String {
// send real transaction
// https://horizon.stellar.org/transactions/fe833c504ca8b329c1e00adec7da79f61a55e28dc705e22a6515494427cc456a
val xdr =
"AAAAAgAAAAAcBaQEwcGuB3ErX1lnwKcP/pe84KcAabwB0GNk6SNvnwAAnQgCwi0TAAgJjwAAAAEAAAAAAAAAAAAAAABlD7HrAAAAAAAAAAIAAAAAAAAADAAAAAAAAAACZUJvbmQAAAAAAAAAAAAAAN80PsIQ9ohJQb1yLu4XaURrKURt5rbLoC7FfOM4vSZQAAAH0oBPrQsAAABFAB6EgAAAAABRAwlNAAAAAAAAAAwAAAAAAAAAAmVCb25kAAAAAAAAAAAAAADfND7CEPaISUG9ci7uF2lEaylEbea2y6AuxXzjOL0mUAAAByOt/5PHAAAAvQBMS0AAAAAAUQMJTgAAAAAAAAAB6SNvnwAAAEDR4cJo3zzZfCFusnM0sECT4xmhLW/bgwukIBxWWXvsDGLdQtE87lkrGijAPiyBEy3n1lDxDu4uwNpGnMXEaTAN"
server.transactions().limit(1).includeFailed(false).execute().records.get(0).envelopeXdr
val tx: Transaction = Transaction.fromEnvelopeXdr(xdr, Network.PUBLIC) as Transaction
val resp = server.submitTransaction(tx)
Log.d("MainActivity", "testSDK resp: $resp")
Expand Down

0 comments on commit 6104e7c

Please sign in to comment.