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.sayboard
- Loading branch information
1 parent
48e0d80
commit 80e6292
Showing
62 changed files
with
230 additions
and
171 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,59 @@ | ||
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 && mv app/build/outputs/apk/release/app-release.apk releases/com.volla.sayboard_$GITHUB_RUN_ID.apk | ||
|
||
- 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/*.apk' | ||
remote_path: '/fdroid-nightly.volla.tech/builds/volla/Sayboard/' | ||
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/*.apk' | ||
remote_path: '/fdroid.volla.tech/builds/volla/Sayboard/' | ||
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
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 → ...rc/main/java/com/volla/sayboard/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 → .../main/java/com/volla/sayboard/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 → ...main/java/com/volla/sayboard/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 → ...com/volla/sayboard/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 → .../sayboard/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 → ...java/com/volla/sayboard/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.sayboard.data | ||
|
||
import java.util.* | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...m/elishaazaria/sayboard/data/ModelType.kt → ...java/com/volla/sayboard/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 → ...va/com/volla/sayboard/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 → ...com/volla/sayboard/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 → ...com/volla/sayboard/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
8 changes: 4 additions & 4 deletions
8
...ria/sayboard/downloader/FileDownloader.kt → ...lla/sayboard/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
6 changes: 3 additions & 3 deletions
6
...shaazaria/sayboard/downloader/ZipTools.kt → ...com/volla/sayboard/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/sayboard/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.sayboard.downloader.messages | ||
|
||
data class CancelCurrent(val info: ModelInfo) |
3 changes: 3 additions & 0 deletions
3
app/src/main/java/com/volla/sayboard/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.sayboard.downloader.messages | ||
|
||
data class CancelFinished(val info: ModelInfo) |
3 changes: 3 additions & 0 deletions
3
app/src/main/java/com/volla/sayboard/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.sayboard.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.sayboard.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.sayboard.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.sayboard.downloader.messages | ||
|
||
data class DownloadState(val info: ModelInfo, val state: State) |
2 changes: 1 addition & 1 deletion
2
...sayboard/downloader/messages/ModelInfo.kt → ...sayboard/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 → ...lla/sayboard/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 → ...la/sayboard/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
3 changes: 3 additions & 0 deletions
3
app/src/main/java/com/volla/sayboard/downloader/messages/StatusQuery.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.sayboard.downloader.messages | ||
|
||
class StatusQuery |
2 changes: 1 addition & 1 deletion
2
...oard/downloader/messages/UnzipProgress.kt → ...oard/downloader/messages/UnzipProgress.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.sayboard.downloader.messages | ||
|
||
data class UnzipProgress(val info: ModelInfo, val progress: Float) |
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.