forked from open-telemetry/opentelemetry-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added template to download layer release
- Loading branch information
1 parent
83eaae8
commit 7092d9f
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
parameters: | ||
- name: skipBuild | ||
type: string | ||
default: "" | ||
- name: githubConnection | ||
type: string | ||
default: "Sage" | ||
- name: defaultVersionType | ||
type: string | ||
default: "latest" | ||
|
||
jobs: | ||
- job: DownloadOpenTelemetryLayer | ||
displayName: "Download OpenTelemetry Layer" | ||
condition: and(succeeded(), eq('${{ parameters.skipBuild }}', false)) | ||
steps: | ||
- task: DownloadGitHubRelease@0 | ||
inputs: | ||
connection: ${{ parameters.githubConnection }} | ||
userRepository: Sage/opentelemetry-lambda | ||
defaultVersionType: ${{ parameters.defaultVersionType }} | ||
downloadPath: '$(System.ArtifactsDirectory)' | ||
- task: PublishBuildArtifacts@1 | ||
displayName: "Publish to build output" | ||
inputs: | ||
artifactName: "build_output" | ||
PathtoPublish: "$(System.ArtifactsDirectory)" |