Skip to content

Instantly share code, notes, and snippets.

@wendreof
Created September 25, 2021 15:04
Show Gist options
  • Save wendreof/c180a92670e3536282a598a5de271619 to your computer and use it in GitHub Desktop.
Save wendreof/c180a92670e3536282a598a5de271619 to your computer and use it in GitHub Desktop.
3-How-to-Safely-Build-Assigned-App-with-GitHub-Actions
#step 2 configurations...
jobs:
flutter_test:
name: Run Flutter assigned build appbundle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{env.JAVA_VERSION}}
- uses: subosito/flutter-action@v1
with:
channel: ${{env.FLUTTER_CHANNEL}}
flutter-version: ${{env.FLUTTER_VERSION}}
# Creating the key.properties file
- run: |
echo keyPassword=\${{ secrets.KEY_STORE }} > ${{env.PROPERTIES_PATH}}
echo storePassword=\${{ secrets.KEY_PASSWORD }} >> ${{env.PROPERTIES_PATH}}
echo keyAlias=\${{ secrets.KEY_ALIAS }} >> ${{env.PROPERTIES_PATH}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment