mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 10:22:19 +00:00
Fixed artifact releases
This commit is contained in:
parent
1a1b9667d0
commit
77518a927f
@ -110,7 +110,7 @@ jobs:
|
|||||||
displayName: Build Distribution (Windows)
|
displayName: Build Distribution (Windows)
|
||||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
||||||
- publish: $(System.DefaultWorkingDirectory)/artifacts
|
- publish: $(System.DefaultWorkingDirectory)/artifacts
|
||||||
artifact: release # -$(Agent.OS)
|
artifact: cli-$(Agent.OS)
|
||||||
|
|
||||||
- job: Build_Library
|
- job: Build_Library
|
||||||
strategy:
|
strategy:
|
||||||
@ -156,26 +156,28 @@ jobs:
|
|||||||
displayName: Build c-api (Windows)
|
displayName: Build c-api (Windows)
|
||||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
||||||
- publish: $(System.DefaultWorkingDirectory)/artifacts
|
- publish: $(System.DefaultWorkingDirectory)/artifacts
|
||||||
artifact: release # -$(Agent.OS)
|
artifact: library-$(Agent.OS)
|
||||||
|
|
||||||
- job: Publish
|
- job: Publish
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- Build_CLI
|
- Build_CLI
|
||||||
- Build_Library
|
- Build_Library
|
||||||
steps:
|
steps:
|
||||||
- download: current
|
# - download: current
|
||||||
artifact: release
|
- task: DownloadPipelineArtifact@1
|
||||||
|
inputs:
|
||||||
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
- bash: |
|
- bash: |
|
||||||
ls $PIPELINE_WORKSPACE/release
|
ls $ARTIFACT_STAGING_DIRECTORY
|
||||||
env:
|
env:
|
||||||
PIPELINE_WORKSPACE: $(Pipeline.Workspace)
|
ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory)
|
||||||
- task: GithubRelease@0
|
- task: GithubRelease@0
|
||||||
displayName: "Create GitHub Release"
|
displayName: "Create GitHub Release"
|
||||||
inputs:
|
inputs:
|
||||||
gitHubConnection: wasmer
|
gitHubConnection: wasmer
|
||||||
repositoryName: wasmerio/wasmer
|
repositoryName: wasmerio/wasmer
|
||||||
tag: dev
|
tag: dev
|
||||||
assets: $(Pipeline.Workspace)/release
|
assets: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branches:
|
branches:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user