forked from ElishaAz/Sayboard
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename package to com.volla.vollaboard
- Loading branch information
1 parent
48e0d80
commit cb06dc5
Showing
63 changed files
with
233 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Android CI | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: gradle | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Build with Gradle | ||
run: ./gradlew build && mkdir -p releases && find app/build/ -type f -name \*\.apk -exec mv {} releases/com.volla.vollaboard_$GITHUB_RUN_ID.apk \; && ls -l releases | ||
|
||
- uses: r0adkll/sign-android-release@v1 | ||
name: Sign app APK | ||
with: | ||
releaseDirectory: ./releases | ||
signingKeyBase64: ${{ secrets.ANDROID_KEYSTORE_FILE_CONTENTS }} | ||
output: ./releases/signed | ||
alias: ${{ secrets.ANDROID_KEYSTORE_ALIAS }} | ||
keyStorePassword: ${{ secrets.ANDROID_KEYSTORE_PASS }} | ||
keyPassword: ${{ secrets.ANDROID_KEYSTORE_PASS }} | ||
|
||
|
||
- name: Upload Apk to Nightly Repository | ||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||
uses: wlixcc/[email protected] | ||
with: | ||
username: 'drone' | ||
server: 'volla.tech' | ||
port: 22 | ||
ssh_private_key: '${{ secrets.FDROID_DEPLOY_KEY }}' | ||
local_path: './releases/signed/*.apk' | ||
remote_path: '/fdroid-nightly.volla.tech/builds/volla/vollaboard/' | ||
args: '-o CheckHostIP=no -o StrictHostKeyChecking=no' | ||
|
||
- name: Upload Apk to Release Repository | ||
if: ${{ startsWith(github.ref, 'refs/tags/v') }} | ||
uses: wlixcc/[email protected] | ||
with: | ||
username: 'drone' | ||
server: 'volla.tech' | ||
port: 22 | ||
ssh_private_key: '${{ secrets.FDROID_DEPLOY_KEY }}' | ||
local_path: './releases/signed/*.apk' | ||
remote_path: '/fdroid.volla.tech/builds/volla/vollaboard/' | ||
args: '-o CheckHostIP=no -o StrictHostKeyChecking=no' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
app/src/main/java/com/elishaazaria/sayboard/downloader/messages/CancelCurrent.kt
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
app/src/main/java/com/elishaazaria/sayboard/downloader/messages/CancelFinished.kt
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
app/src/main/java/com/elishaazaria/sayboard/downloader/messages/CancelPending.kt
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
app/src/main/java/com/elishaazaria/sayboard/downloader/messages/StatusQuery.kt
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../java/com/elishaazaria/sayboard/AppCtx.kt → .../main/java/com/volla/vollaboard/AppCtx.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
...ava/com/elishaazaria/sayboard/AppPrefs.kt → ...ain/java/com/volla/vollaboard/AppPrefs.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...va/com/elishaazaria/sayboard/Constants.kt → ...in/java/com/volla/vollaboard/Constants.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...shaazaria/sayboard/SayboardApplication.kt → ...m/volla/vollaboard/SayboardApplication.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../sayboard/data/InstalledModelReference.kt → ...ollaboard/data/InstalledModelReference.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...m/elishaazaria/sayboard/data/ModelLink.kt → ...va/com/volla/vollaboard/data/ModelLink.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.elishaazaria.sayboard.data | ||
package com.volla.vollaboard.data | ||
|
||
import java.util.* | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...m/elishaazaria/sayboard/data/ModelType.kt → ...va/com/volla/vollaboard/data/ModelType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...elishaazaria/sayboard/data/SimpleEnums.kt → .../com/volla/vollaboard/data/SimpleEnums.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...shaazaria/sayboard/data/VoskLocalModel.kt → ...m/volla/vollaboard/data/VoskLocalModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...shaazaria/sayboard/data/VoskServerData.kt → ...m/volla/vollaboard/data/VoskServerData.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
...ria/sayboard/downloader/FileDownloader.kt → ...a/vollaboard/downloader/FileDownloader.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
...shaazaria/sayboard/downloader/ZipTools.kt → ...m/volla/vollaboard/downloader/ZipTools.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
app/src/main/java/com/volla/vollaboard/downloader/messages/CancelCurrent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package com.volla.vollaboard.downloader.messages | ||
|
||
data class CancelCurrent(val info: ModelInfo) |
3 changes: 3 additions & 0 deletions
3
app/src/main/java/com/volla/vollaboard/downloader/messages/CancelFinished.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package com.volla.vollaboard.downloader.messages | ||
|
||
data class CancelFinished(val info: ModelInfo) |
3 changes: 3 additions & 0 deletions
3
app/src/main/java/com/volla/vollaboard/downloader/messages/CancelPending.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package com.volla.vollaboard.downloader.messages | ||
|
||
data class CancelPending(val info: ModelInfo) |
2 changes: 1 addition & 1 deletion
2
...oard/downloader/messages/DownloadError.kt → ...oard/downloader/messages/DownloadError.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package com.elishaazaria.sayboard.downloader.messages | ||
package com.volla.vollaboard.downloader.messages | ||
|
||
data class DownloadError(val info: ModelInfo, val message: String) |
2 changes: 1 addition & 1 deletion
2
...d/downloader/messages/DownloadProgress.kt → ...d/downloader/messages/DownloadProgress.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package com.elishaazaria.sayboard.downloader.messages | ||
package com.volla.vollaboard.downloader.messages | ||
|
||
data class DownloadProgress(val info: ModelInfo, val progress: Float) |
2 changes: 1 addition & 1 deletion
2
...oard/downloader/messages/DownloadState.kt → ...oard/downloader/messages/DownloadState.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package com.elishaazaria.sayboard.downloader.messages | ||
package com.volla.vollaboard.downloader.messages | ||
|
||
data class DownloadState(val info: ModelInfo, val state: State) |
2 changes: 1 addition & 1 deletion
2
...sayboard/downloader/messages/ModelInfo.kt → ...llaboard/downloader/messages/ModelInfo.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ria/sayboard/downloader/messages/State.kt → ...a/vollaboard/downloader/messages/State.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ia/sayboard/downloader/messages/Status.kt → .../vollaboard/downloader/messages/Status.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.