You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/.azuredevops/pipelines/publish-job.yml

65 lines
1.6 KiB

5 years ago
5 years ago
variables:
- template: templates/variables.yml
5 years ago
jobs:
5 years ago
- job: Build
pool:
vmImage: ${{ variables.vmImage }}
steps:
5 years ago
- template: templates/build-steps.yml
5 years ago
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
name: 'Win10-x64'
Runtime: win10-x64
OutputName: win-64
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
name: 'Win10-x86'
Runtime: win10-x86
OutputName: win-86
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
name: 'OSX-x64'
Runtime: osx-x64
OutputName: osx-64
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
name: 'Linux-x64'
Runtime: linux-x64
OutputName: linux-64
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
name: 'Linux-ARM'
Runtime: linux-arm
OutputName: linux-arm
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
name: 'Linux-ARM-x64'
Runtime: linux-arm64
OutputName: linux-arm64
# - task: GitHubRelease@1
# inputs:
# gitHubConnection: 'github.com_tidusjar'
# repositoryName: 'tidusjar/Ombi.Releases'
# action: 'create'
# target: 'c7fcbb77b58aef1076d635a9ef99e4374abc8672'
# tagSource: 'userSpecifiedTag'
# tag: '$(gitTag)'
# releaseNotesSource: 'inline'
# releaseNotesInline: '$(ReleaseNotes)'
# assets: |
# $(Build.ArtifactStagingDirectory)/*.zip
# $(Build.ArtifactStagingDirectory)/*.gz
# isPreRelease: true
# changeLogCompareToRelease: 'lastNonDraftRelease'
# changeLogType: 'commitBased'
# condition: and(succeeded(), eq(variables['PublishToGithub'], 'true'))