Skip to content

Commit

Permalink
Fix azure pipelines
Browse files Browse the repository at this point in the history
* fix gh release task
* fix archive file path
  • Loading branch information
pekalam committed Aug 22, 2021
1 parent fe00305 commit 0045f6a
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,30 @@ steps:
script: |
ren ${{ variables.release64FolderName }}\${{ variables.bin64FolderName }}\Assembler.exe NNLab.exe
ren ${{ variables.release86FolderName }}\${{ variables.bin86FolderName }}\Assembler.exe NNLab.exe
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(System.DefaultWorkingDirectory)\${{ variables.release64FolderName }}'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/x64AppRelease.zip'
replaceExistingArchive: true
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(System.DefaultWorkingDirectory)\${{ variables.release86FolderName }}'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/x86AppRelease.zip'
replaceExistingArchive: true
- task: PublishBuildArtifacts@1
displayName: 'Publish x64 build artifacts'
inputs:
PathtoPublish: '$(System.DefaultWorkingDirectory)\${{ variables.release64FolderName }}'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/x64AppRelease.zip'
ArtifactName: 'x64AppRelease'
publishLocation: 'Container'
- task: PublishBuildArtifacts@1
displayName: 'Publish x86 build artifacts'
inputs:
PathtoPublish: '$(System.DefaultWorkingDirectory)\${{ variables.release86FolderName }}'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/x86AppRelease.zip'
ArtifactName: 'x86AppRelease'
publishLocation: 'Container'
- task: GitHubRelease@1
Expand All @@ -81,5 +95,5 @@ steps:
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'gitTag'
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'
assets: '$(Build.ArtifactStagingDirectory)/*.zip'
addChangeLog: false

0 comments on commit 0045f6a

Please sign in to comment.