Skip to content

Commit

Permalink
Merge pull request #14 from omer358/dev
Browse files Browse the repository at this point in the history
resolves #13
  • Loading branch information
omer358 authored Jun 23, 2024
2 parents c39384b + d341351 commit 86f3dcc
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 239 deletions.
61 changes: 33 additions & 28 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,37 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
cache: gradle

- name: Cache Gradle packages
uses: actions/cache@v2
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

- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: build
path: app/build/outputs/apk/release/*.apk
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
cache: gradle

- name: Cache Gradle packages
uses: actions/cache@v2
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

- name: Load Google Service file
env:
data: ${{ secrets.GOOGLE_SERVICES_JSON}}
run: echo $DATA | base64 -di > app/google-services.json

- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: build
path: app/build/outputs/apk/release/*.apk

3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

49 changes: 0 additions & 49 deletions .idea/androidTestResultsUserPreferences.xml

This file was deleted.

26 changes: 0 additions & 26 deletions .idea/appInsightsSettings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/compiler.xml

This file was deleted.

35 changes: 0 additions & 35 deletions .idea/deploymentTargetSelector.xml

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/gradle.xml

This file was deleted.

41 changes: 0 additions & 41 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/kotlinc.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/migrations.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/misc.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

0 comments on commit 86f3dcc

Please sign in to comment.