Update android.yml

This commit is contained in:
Sujal 2025-02-20 22:19:30 +05:30 committed by GitHub
parent 27adce7731
commit 61f09b36f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,10 @@
name: Android CI Build name: Android CI
on: [push, pull_request, workflow_dispatch] on: [push, pull_request, workflow_dispatch]
permissions: permissions:
contents: write contents: read
actions: write actions: read
concurrency: concurrency:
group: build-${{ github.event.pull_request.number || github.ref }} group: build-${{ github.event.pull_request.number || github.ref }}
@ -35,7 +35,6 @@ jobs:
restore-keys: gradle-packages-${{ runner.os }} restore-keys: gradle-packages-${{ runner.os }}
- name: Access test login credentials - name: Access test login credentials
if: github.event_name != 'pull_request' || github.repository == github.event.pull_request.head.repo.full_name
run: | run: |
echo "TEST_USER_NAME=${{ secrets.TEST_USER_NAME }}" >> local.properties echo "TEST_USER_NAME=${{ secrets.TEST_USER_NAME }}" >> local.properties
echo "TEST_USER_PASSWORD=${{ secrets.TEST_USER_PASSWORD }}" >> local.properties echo "TEST_USER_PASSWORD=${{ secrets.TEST_USER_PASSWORD }}" >> local.properties