Skip to content

Commit 4116b47

Browse files
authored
Merge pull request #28 from kdroidFilter/sqldelightgenerator
Add database update functionality and multi-language support
2 parents 286b5dc + 68d69e6 commit 4116b47

4 files changed

Lines changed: 289 additions & 159 deletions

File tree

.github/workflows/release-sqlite-db.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121

22+
- name: Define release name (once for all steps)
23+
run: echo "RELEASE_NAME=$(date +'%Y%m%d%H%M')" >> $GITHUB_ENV
24+
2225
- name: Set up Java 17
2326
uses: actions/setup-java@v3
2427
with:
@@ -44,10 +47,6 @@ jobs:
4447
ls -l generators/store/build/store-database-fr.db
4548
ls -l generators/store/build/store-database-he.db
4649
47-
- name: Define release name
48-
id: relname
49-
run: echo "RELEASE_NAME=$(date +'%Y%m%d%H%M')" >> $GITHUB_ENV
50-
5150
- name: Create and push tag
5251
run: |
5352
git config --global user.name "github-actions"
@@ -58,7 +57,6 @@ jobs:
5857
5958
- name: Create GitHub release and upload artifacts
6059
uses: softprops/action-gh-release@v2.1.0
61-
6260
with:
6361
tag_name: ${{ env.RELEASE_NAME }}
6462
name: ${{ env.RELEASE_NAME }}

dao/src/commonMain/kotlin/io/github/kdroidfilter/database/dao/ApplicationsDao.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import io.github.kdroidfilter.database.store.Developers
1313
* Contains functions for database operations related to applications
1414
*/
1515
object ApplicationsDao {
16-
16+
1717
/**
1818
* Creates a GooglePlayApplicationInfo from database data
1919
*/
@@ -129,4 +129,5 @@ object ApplicationsDao {
129129
createAppInfoWithExtras(app, developer, category, deviceLanguage, creator)
130130
}
131131
}
132-
}
132+
133+
}

0 commit comments

Comments
 (0)