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