Skip to content

Commit

Permalink
Update ktlint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HyomK authored Mar 24, 2024
1 parent cb4bb30 commit 26f6118
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ktlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,15 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Create Key Store
run: echo "${{ secrets.STORE_FILE }}" | base64 -d > release.keystore

- name: BASE_URL
run: |
echo BASE_URL=$BASE_URL > local.properties
shell: bash
env:
API_KEY: ${{ secrets.BASE_URL }}

- name: Download Android keystore
id: android_keystore
uses: timheuer/[email protected]
with:
fileName: key
encodedString: ${{ secrets.STORE_FILE }}

- run: echo $STORE_FILE | base64 -d > /home/runner/work/Don-t-Forget---Android/Don-t-Forget---Android/app/key

- name: Create key.properties
run: |
Expand All @@ -56,7 +50,7 @@ jobs:
- name: Ktlint Check
run: ./gradlew --no-daemon ktlintCheck --continue

- name: Putting data
- name: Add Google Services
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/Don-t-Forget---Android/Don-t-Forget---Android/app/google-services.json
Expand Down

0 comments on commit 26f6118

Please sign in to comment.