From 7a5d96a1acbee148cf2898143dce29c61c1f9239 Mon Sep 17 00:00:00 2001 From: silvanshade Date: Mon, 5 Feb 2024 10:39:06 -0700 Subject: [PATCH] Define intel-sde-install action --- intel-sde-install/action.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 intel-sde-install/action.yaml diff --git a/intel-sde-install/action.yaml b/intel-sde-install/action.yaml new file mode 100644 index 0000000..8d1fc36 --- /dev/null +++ b/intel-sde-install/action.yaml @@ -0,0 +1,17 @@ +name: "intel-sde-install" +description: "Install Intel SDE" +inputs: + sde-full-version: + description: "SDE full version" + required: true +runs: + using: composite + steps: + # yamllint disable rule:line-length + - shell: bash + run: | + curl -JLO "https://downloadmirror.intel.com/813591/sde-external-${{ inputs.sde-full-version }}-lin.tar.xz" + tar xvf sde-external-${{ inputs.sde-full-version }}-lin.tar.xz -C /opt + # yamllint disable rule:line-length + - shell: bash + run: echo "/opt/sde-external-${{ inputs.sde-full-version }}-lin" >> $GITHUB_PATH