mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-29 10:29:26 +01:00
fix CI
This commit is contained in:
parent
b9045eb25f
commit
2ae4b87f2f
2
.github/workflows/elementr.yml
vendored
2
.github/workflows/elementr.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
target: [ Gplay, Fdroid ]
|
||||
# Allow all jobs on develop. Just one per PR.
|
||||
concurrency:
|
||||
group: ${{ github.ref == 'refs/heads/develop' && format('integration-tests-develop-{0}-{1}', matrix.target, github.sha) || format('build-debug-{0}-{1}', matrix.target, github.ref) }}
|
||||
group: ${{ github.ref == 'refs/heads/develop' && format('elementr-{0}-{1}', matrix.target, github.sha) || format('build-debug-{0}-{1}', matrix.target, github.ref) }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
2
.github/workflows/nightly_er.yml
vendored
2
.github/workflows/nightly_er.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
sed 's/CHANGES\.md/CHANGES_NIGHTLY\.md/' towncrier.toml.bak > towncrier.toml
|
||||
rm towncrier.toml.bak
|
||||
yes n | towncrier build --version nightly
|
||||
- name: Build and upload Gplay Nightly APK
|
||||
- name: Build and upload Gplay Nightly ER APK
|
||||
run: |
|
||||
./gradlew assembleGplayRustCryptoNightly appDistributionUploadGplayRustCryptoNightly $CI_GRADLE_ARG_PROPERTIES
|
||||
env:
|
||||
|
@ -290,7 +290,7 @@ class SelfVerificationController @Inject constructor(
|
||||
}
|
||||
is Success -> {
|
||||
// Success => There is an active transaction
|
||||
renderTransaction(state, transaction = transaction.invoke())
|
||||
renderTransaction(transaction = transaction.invoke())
|
||||
}
|
||||
is Fail -> {
|
||||
// todo
|
||||
@ -300,7 +300,7 @@ class SelfVerificationController @Inject constructor(
|
||||
}
|
||||
}
|
||||
|
||||
private fun renderTransaction(state: SelfVerificationViewState, transaction: VerificationTransactionData) {
|
||||
private fun renderTransaction(transaction: VerificationTransactionData) {
|
||||
when (transaction) {
|
||||
is VerificationTransactionData.QrTransactionData -> {
|
||||
renderQrTransaction(transaction, null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user