Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
upload to artifacts folder first
Browse files Browse the repository at this point in the history
  • Loading branch information
yazninja committed May 12, 2023
1 parent 8b10d5b commit 9dc14bf
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ jobs:
*.rpm
TargetFolder: '$(Build.ArtifactStagingDirectory)'

# - task: PublishBuildArtifacts@1
# displayName: Upload Artifacts
# inputs:
# ArtifactName: "Cider-2"
# publishLocation: "Container"
- task: PublishBuildArtifacts@1
displayName: Upload Artifacts
inputs:
ArtifactName: "Cider-1"
publishLocation: "Container"

# - task: DownloadBuildArtifacts@1
# inputs:
Expand Down Expand Up @@ -119,6 +119,11 @@ jobs:
SourceFolder: "dist"
Contents: "*.exe"
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
displayName: Upload Artifacts
inputs:
ArtifactName: "Cider-1"
publishLocation: "Container"

- job: compile_winget
displayName: "Compile for Winget"
Expand Down Expand Up @@ -146,6 +151,11 @@ jobs:
SourceFolder: "dist"
Contents: "*.exe"
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
displayName: Upload Artifacts
inputs:
ArtifactName: "Cider-1"
publishLocation: "Container"

- job: upload_files
dependsOn:
Expand All @@ -165,6 +175,6 @@ jobs:
title: 'Cider Version 1.6.1'
releaseNotesSource: 'inline'
releaseNotesInline: 'Test build from azure CI'
assets: '$(Build.ArtifactStagingDirectory)/*.*'
assets: '$(System.ArtifactsDirectory)/Cider-1/*'
addChangeLog: false

0 comments on commit 9dc14bf

Please sign in to comment.