Skip to content

Instantly share code, notes, and snippets.

View levelfivecoder's full-sized avatar
🏠
Working from home

levelfivecoder levelfivecoder

🏠
Working from home
View GitHub Profile
@levelfivecoder
levelfivecoder / azure-pipeline.yml
Created March 26, 2020 09:17
Copy to Artifacts & Publish
- task: CopyFiles@2
inputs:
contents: '**/*.apk'
targetFolder: '$(build.artifactStagingDirectory)'
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'drop'
- task: AndroidSigning@3
displayName: 'Signing and aligning APK file(s) **/*.apk'
inputs:
apkFiles: '**/*.apk'
apksign: true
apksignerKeystoreFile: key.jks
apksignerKeystorePassword: $(keypassword)
apksignerKeystoreAlias: $(key)
apksignerKeyPassword: $(keypassword)
- task: FlutterBuild@0
inputs:
target: apk
projectDirectory: $(projectDirectory)
- task: FlutterInstall@0
inputs:
channel: 'stable'
version: 'latest'
# Flutter build
variables:
projectDirectory: 'covid_19_tracker'
trigger:
- master
jobs:
- job: Android
pool:
vmImage: 'macOS-latest'