diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-08-28 09:50:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-08-28 09:50:57 +0800 |
commit | f10d10ec9e5587a95253bbda0603a1c8443d1a44 (patch) | |
tree | a246010eb70aff2734abe80a5060c0151e3c2b5a /azure-pipelines.yml | |
parent | c8b80a018b872dd7d83614b9f5f850cc026f30e0 (diff) | |
download | lua-language-server-f10d10ec9e5587a95253bbda0603a1c8443d1a44.zip |
抄一个发布脚本
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 44535c1b..b0526509 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,6 +18,18 @@ jobs: - script: | 3rd\luamake\luamake.exe rebuild displayName: 'Compile' + - script: | + server\bin\lua-language-server.exe server\publish.lua + displayName: 'Publish' + - task: CopyFiles@2 + inputs: + Contents: '**' + SourceFolder: 'publish\lua-language-server' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: $(Build.ArtifactStagingDirectory) + artifactName: lua-language-server - job: macos pool: @@ -39,6 +51,18 @@ jobs: - bash: | ./3rd/luamake/luamake rebuild displayName: 'Compile' + - bash: | + server/bin/lua-language-server server/publish.lua + displayName: 'Publish' + - task: CopyFiles@2 + inputs: + Contents: '**' + SourceFolder: 'publish/lua-language-server' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: $(Build.ArtifactStagingDirectory) + artifactName: lua-language-server - job: linux pool: @@ -59,3 +83,15 @@ jobs: - bash: | ./3rd/luamake/luamake rebuild displayName: 'Compile' + - bash: | + server/bin/lua-language-server server/publish.lua + displayName: 'Publish' + - task: CopyFiles@2 + inputs: + Contents: '**' + SourceFolder: 'publish/lua-language-server' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: $(Build.ArtifactStagingDirectory) + artifactName: lua-language-server |