initial commit
This commit is contained in:
19
.github/actions/download-sdk/action.yml
vendored
Normal file
19
.github/actions/download-sdk/action.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Download SDK asset
|
||||
description: Restores the SDK asset for a language.
|
||||
|
||||
inputs:
|
||||
language:
|
||||
required: true
|
||||
description: One of nodejs, python, dotnet, go, java
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Download ${{ inputs.language }} SDK
|
||||
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
|
||||
with:
|
||||
name: ${{ inputs.language }}-sdk.tar.gz
|
||||
path: ${{ github.workspace}}/sdk/
|
||||
- name: Uncompress SDK folder
|
||||
shell: bash
|
||||
run: tar -zxf ${{ github.workspace }}/sdk/${{ inputs.language }}.tar.gz -C ${{ github.workspace }}/sdk/${{ inputs.language }}
|
||||
Reference in New Issue
Block a user