DEV Community

Discussion on: Hide your api keys from your android manifest file with Flutter using local.properties

Collapse
 
no2s14 profile image
Steve

You can add a step in your build job like this :

jobs:
    build: 
        # your other scripts here...
        - name: Inject local.properties value
               env:
                     VALUE: ${{ secrets.VALUE }}
                     run: echo VALUE="$VALUE" > ./local.properties
Enter fullscreen mode Exit fullscreen mode