-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from joelkanyi/develop
Minor changes and fixes
- Loading branch information
Showing
137 changed files
with
2,116 additions
and
1,668 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,29 @@ | ||
{ | ||
"categories": [ | ||
{ | ||
"title": "## 🚀 Features", | ||
"labels": [ | ||
"feature" | ||
] | ||
}, | ||
{ | ||
"title": "## 🐛 Fixes", | ||
"labels": [ | ||
"fix" | ||
] | ||
}, | ||
{ | ||
"title": "## 🧪 Tests", | ||
"labels": [ | ||
"test" | ||
] | ||
}, | ||
{ | ||
"title": "## 💬 Other", | ||
"labels": [ | ||
"other", | ||
"dependencies" | ||
] | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
release_desktop: | ||
name: Release Desktop App | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ macos-latest, ubuntu-latest, windows-latest ] | ||
runs-on: ${{ matrix.os }} | ||
if: startsWith(github.ref, 'refs/tags/') | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate Gradle Wrapper | ||
uses: gradle/wrapper-validation-action@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
cache: gradle | ||
|
||
- name: Make gradle executable | ||
run: chmod +x ./gradlew | ||
|
||
- name: Checkout Gradle Build Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
!~/.gradle/wrapper/dists/**/gradle*.zip | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | ||
restore-keys: | | ||
gradle-${{ runner.os }}- | ||
- name: Build app | ||
run: ./gradlew :desktop:assemble --stacktrace | ||
|
||
- name: Build Release App | ||
run: | | ||
./gradlew packageUberJarForCurrentOS | ||
./gradlew package | ||
- name: Archive Artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: distributable-${{ matrix.os }} | ||
if-no-files-found: ignore | ||
path: | | ||
desktop/build/**/*.deb | ||
desktop/build/**/*.msi | ||
desktop/build/**/*.dmg | ||
desktop/build/compose/jars/*.jar | ||
- name: Release | ||
uses: softprops/action-gh-release@91409e712cf565ce9eff10c87a8d1b11b81757ae | ||
with: | ||
prerelease: ${{ contains(github.event.inputs.version, '-rc') || contains(github.event.inputs.version, '-b') || contains(github.event.inputs.version, '-a') }} | ||
files: | | ||
desktop/build/**/*.deb | ||
desktop/build/**/*.msi | ||
desktop/build/**/*.dmg | ||
desktop/build/compose/jars/*.jar | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} | ||
|
||
release_android: | ||
name: Release Android App | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags/') | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate Gradle Wrapper | ||
uses: gradle/wrapper-validation-action@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
cache: gradle | ||
|
||
- name: Make gradle executable | ||
run: chmod +x ./gradlew | ||
|
||
- name: Build app | ||
run: ./gradlew :android:assembleRelease --stacktrace | ||
|
||
- name: Archive Artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: android-app | ||
if-no-files-found: ignore | ||
path: android/build/outputs/apk/release/*.apk | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@91409e712cf565ce9eff10c87a8d1b11b81757ae | ||
with: | ||
prerelease: ${{ contains(github.event.inputs.version, '-rc') || contains(github.event.inputs.version, '-b') || contains(github.event.inputs.version, '-a') }} | ||
files: | | ||
android/build/outputs/apk/release/*.apk | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} | ||
|
||
changelog: | ||
name: Changelog | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref, 'refs/tags/') | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build Changelog | ||
id: github_release | ||
uses: mikepenz/release-changelog-builder-action@v1 | ||
with: | ||
configuration: ".github/config/configuration.json" | ||
commitMode: true | ||
ignorePreReleases: ${{ !contains(github.ref, '-') }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@91409e712cf565ce9eff10c87a8d1b11b81757ae | ||
with: | ||
body: ${{steps.github_release.outputs.changelog}} | ||
prerelease: ${{ contains(github.event.inputs.version, '-rc') || contains(github.event.inputs.version, '-b') || contains(github.event.inputs.version, '-a') }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} |
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,11 +1,103 @@ | ||
*.iml | ||
# Gradle | ||
.gradle | ||
build/ | ||
|
||
captures | ||
|
||
/local.properties | ||
.idea | ||
|
||
# IntelliJ .idea folder | ||
.idea/workspace.xml | ||
.idea/misc.xml | ||
.idea/libraries | ||
.idea/caches | ||
.idea/navEditor.xml | ||
.idea/tasks.xml | ||
.idea/modules.xml | ||
.idea/compiler.xml | ||
.idea/jarRepositories.xml | ||
.idea/deploymentTargetDropDown.xml | ||
.idea/androidTestResultsUserPreferences.xml | ||
.idea/appInsightsSettings.xml | ||
.idea/artifacts | ||
gradle.xml | ||
*.iml | ||
.fleet | ||
|
||
# General | ||
.DS_Store | ||
/build | ||
*/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
local.properties | ||
|
||
# Do not commit plain-text release keys | ||
app-release.jks | ||
play-account.p12 | ||
play-account.json | ||
|
||
# Do not commit firebase config | ||
google-services.json | ||
|
||
# VS Code config | ||
org.eclipse.buildship.core.prefs | ||
.classpath | ||
.project | ||
bin/ | ||
|
||
# Docs | ||
site/ | ||
.cache/ | ||
|
||
# Ignore baseline profile files in samples | ||
sample/**/generated | ||
|
||
########################################################################################## | ||
# Imported from https://github.com/github/gitignore/blob/main/Swift.gitignore | ||
########################################################################################## | ||
|
||
# Xcode | ||
# | ||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | ||
|
||
## User settings | ||
xcuserdata/ | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
|
||
## App packaging | ||
*.ipa | ||
*.dSYM.zip | ||
*.dSYM | ||
|
||
## Playgrounds | ||
timeline.xctimeline | ||
playground.xcworkspace | ||
|
||
# Swift Package Manager | ||
# | ||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. | ||
# Packages/ | ||
# Package.pins | ||
# Package.resolved | ||
# *.xcodeproj | ||
# | ||
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata | ||
# hence it is not needed unless you have added a package configuration file to your project | ||
# .swiftpm | ||
|
||
.build/ | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. | ||
# Instead, use fastlane to re-generate the screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://docs.fastlane.tools/best-practices/source-control/#source-control | ||
|
||
report.xml | ||
Preview.html | ||
screenshots/**/*.png | ||
test_output | ||
|
||
*.env* | ||
|
||
.kotlin |
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
Oops, something went wrong.