diff --git a/.github/workflows/build-android-app.yml b/.github/workflows/build-android-app.yml index 1e5ded93..a626ad97 100644 --- a/.github/workflows/build-android-app.yml +++ b/.github/workflows/build-android-app.yml @@ -9,6 +9,18 @@ on: jobs: build: runs-on: macos-latest + environment: Android CI/CD + steps: - uses: actions/checkout@v2 - - run: fastlane beta \ No newline at end of file + + - name: Create LocalProperites + env: + CREDENTIAL_WEB_CLIENT_ID: ${{ secrets.CREDENTIAL_WEB_CLIENT_ID }} + MISSION_MATE_BASE_URL: ${{ secrets.MISSION_MATE_BASE_URL }} + run: | + echo CREDENTIAL_WEB_CLIENT_ID=\"$CREDENTIAL_WEB_CLIENT_ID\" > ./local.properties + echo MISSION_MATE_BASE_URL=\"$MISSION_MATE_BASE_URL\" >> ./local.properties + + - name: Build with Gradle + - run: fastlane beta