Skip to content

Commit

Permalink
Changes releted to secret properties in repo
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsid1408 committed May 13, 2024
1 parent 7d0e465 commit 407ab3a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
distribution: 'adopt'
java-version: 17

- name: Decode secret properties
env:
SECRET_PROPERTIES_BASE64: ${{ secrets.SECRET_PROPERTIES }}
run: |
echo -n "$SECRET_PROPERTIES_BASE64" | base64 --decode > ${{ github.workspace }}/app/src/main/secret.properties
echo -n "$SECRET_PROPERTIES_BASE64" | base64 --decode > ${{ github.workspace }}/data/src/main/secret.properties
- name: Run with Gradle
run: |
./gradlew clean
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/lint-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ jobs:
with:
distribution: 'adopt'
java-version: 17


- name: Decode secret properties
env:
SECRET_PROPERTIES_BASE64: ${{ secrets.SECRET_PROPERTIES }}
run: |
echo -n "$SECRET_PROPERTIES_BASE64" | base64 --decode > ${{ github.workspace }}/app/src/main/secret.properties
echo -n "$SECRET_PROPERTIES_BASE64" | base64 --decode > ${{ github.workspace }}/data/src/main/secret.properties
- name: Run Lint
run: ./gradlew lint
continue-on-error: false
Expand Down

0 comments on commit 407ab3a

Please sign in to comment.