Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

levelfivecoder levelfivecoder

🏠
Working from home
  • levelfivecoder
View GitHub Profile
@levelfivecoder
levelfivecoder / azure-pipeline.yml
Created Mar 26, 2020
Copy to Artifacts & Publish
View azure-pipeline.yml
- task: CopyFiles@2
inputs:
contents: '**/*.apk'
targetFolder: '$(build.artifactStagingDirectory)'
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'drop'
View azure-pipeline.yml
- 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)
View azure-pipeline.yml
- task: FlutterBuild@0
inputs:
target: apk
projectDirectory: $(projectDirectory)
View azure-pipeline.yml
- task: FlutterInstall@0
inputs:
channel: 'stable'
version: 'latest'
View azure-pipeline.yml
# Flutter build
variables:
projectDirectory: 'covid_19_tracker'
trigger:
- master
jobs:
- job: Android
pool:
vmImage: 'macOS-latest'