Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekkalkha committed Jan 3, 2024
2 parents 32faebd + b1def23 commit 27a8979
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 295 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on: push
name: Test, Build and Release apk
jobs:
build:
name: Build APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.0.5'
- run: flutter pub get
working-directory: ./Frontend/searchlight_gui/
- run: flutter build apk --debug --split-per-abi
working-directory: ./Frontend/searchlight_gui/
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: "android_build"
path: ./Frontend/searchlight_gui/build/app/outputs/apk/debug/*.apk
# - name: Push APK to Releases
# uses: ncipollo/release-action@v1
# with:
# artifacts: "./Frontend/searchlight_gui/build/app/outputs/apk/debug/*.apk"
# token: ${{ secrets.TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.5'
channel: 'stable'
- run: flutter --version
- working-directory: ./Frontend/searchlight_gui
run: flutter config --enable-windows-desktop

Expand All @@ -31,5 +33,5 @@ jobs:
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: "build.zip"
name: "build"
path: ./Frontend/searchlight_gui/build/windows/
1 change: 1 addition & 0 deletions Backend/server_api/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## todo : Create a sync server
2 changes: 1 addition & 1 deletion Frontend/searchlight_gui/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ android {
applicationId "com.example.searchlight_gui"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion flutter.minSdkVersion
minSdkVersion 19//flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
Loading

0 comments on commit 27a8979

Please sign in to comment.