-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 009d776
Showing
88 changed files
with
7,538 additions
and
0 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,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "gradle" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 10 |
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,60 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
- name: Extract keystore file | ||
run: echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > $GITHUB_WORKSPACE/signing-key.jks | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Build APKs with Gradle | ||
run: | | ||
./gradlew assembleRelease \ | ||
-Pandroid.injected.signing.store.file=$GITHUB_WORKSPACE/signing-key.jks \ | ||
-Pandroid.injected.signing.store.password=${{ secrets.KEYSTORE_PW }} \ | ||
-Pandroid.injected.signing.key.alias=${{ secrets.KEYSTORE_ALIAS }} \ | ||
-Pandroid.injected.signing.key.password=${{ secrets.KEYSTORE_PW }} | ||
- name: Build AABs with Gradle | ||
run: | | ||
./gradlew bundleRelease \ | ||
-Pandroid.injected.signing.store.file=$GITHUB_WORKSPACE/signing-key.jks \ | ||
-Pandroid.injected.signing.store.password=${{ secrets.KEYSTORE_PW }} \ | ||
-Pandroid.injected.signing.key.alias=${{ secrets.KEYSTORE_ALIAS }} \ | ||
-Pandroid.injected.signing.key.password=${{ secrets.KEYSTORE_PW }} | ||
- name: Remove keystore file | ||
run: rm $GITHUB_WORKSPACE/signing-key.jks | ||
|
||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
generate_release_notes: true | ||
draft: true | ||
files: | | ||
./app/build/outputs/apk/standard/release/app-standard-release.apk | ||
./app/build/outputs/apk/bundled/release/app-bundled-release.apk | ||
./app/build/outputs/bundle/bundledRelease/app-bundled-release.aab | ||
./app/build/outputs/bundle/standardRelease/app-standard-release.aab |
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,24 @@ | ||
name: 'Close stale issues and PR' | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
exempt-issue-labels: 'work-in-progress,enhancement' | ||
exempt-pr-labels: 'work-in-progress,dependencies' | ||
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' | ||
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity.' | ||
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' | ||
days-before-stale: 30 | ||
days-before-close: 7 | ||
days-before-pr-close: -1 |
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,48 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
paths: | ||
- 'app/**' | ||
- 'build.gradle' | ||
pull_request: | ||
paths: | ||
- 'app/**' | ||
- 'build.gradle' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Run tests | ||
run: ./gradlew test | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew assembleDebug | ||
|
||
- name: Upload Debug APK | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: APK(s) debug generated | ||
path: ./app/build/outputs/apk/standard/debug/ | ||
|
||
- name: Upload Debug APK (Bundled) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: APK(s) debug generated (Bundled) | ||
path: ./app/build/outputs/apk/bundled/debug/ |
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,15 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
/.idea/navEditor.xml | ||
/.idea/assetWizardSettings.xml | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
local.properties |
Oops, something went wrong.