Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Publish release packages #340

Merged
merged 2 commits into from
Feb 16, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add step for publishing release
  • Loading branch information
bryphe committed Feb 15, 2019
commit 136ab988c1674aceebd1d2087b13561e2a562355
5 changes: 5 additions & 0 deletions .ci/esy-build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ steps:
displayName: 'esy build'
- script: esy b dune runtest
displayName: 'esy b dune runtest'
- script: esy x Examples
displayName: 'esy x Examples'
continueOnError: true
- script: esy create-release
displayName: 'esy create-release'
10 changes: 10 additions & 0 deletions .ci/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Steps for publishing project cache

steps:
- task: PublishBuildArtifacts@1
displayName: '[Release]'
inputs:
pathToPublish: '_release'
artifactName: 'release-$(Agent.OS)'
parallel: true
parallelCount: 8
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- template: .ci/use-node.yml
- template: .ci/restore-build-cache.yml
- template: .ci/esy-build-steps.yml
- template: .ci/publish-release.yml
- template: .ci/create-docs.yml
- template: .ci/publish-build-cache.yml

Expand Down Expand Up @@ -64,6 +65,7 @@ jobs:
- template: .ci/use-node.yml
- template: .ci/restore-build-cache.yml
- template: .ci/esy-build-steps.yml
- template: .ci/publish-release.yml
- template: .ci/publish-build-cache.yml

- job: Windows
Expand All @@ -82,4 +84,5 @@ jobs:
- template: .ci/use-node.yml
- template: .ci/restore-build-cache.yml
- template: .ci/esy-build-steps.yml
- template: .ci/publish-release.yml
- template: .ci/publish-build-cache.yml