Skip to content

Commit b00ab64

Browse files
author
Felix Exner
committed
Download and install SDK from tempfolder
This seems cleaner than assuming HOME would be fine for this.
1 parent a0579a0 commit b00ab64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/build_urcap/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ SDK_MAJOR=$(echo ${SDK_VERSION} | awk -F. '{print $1}')
66
SDK_MINOR=$(echo ${SDK_VERSION} | awk -F. '{print $2}')
77
SDK_BUILD=$(echo ${SDK_VERSION} | awk -F. '{print $3}')
88

9-
pushd ${HOME}
9+
download_folder=$(mktemp -d)
10+
pushd ${download_folder}
1011
curl -o sdk-${SDK_VERSION}.zip https://s3-eu-west-1.amazonaws.com/urplus-developer-site/sdk/sdk-${SDK_VERSION}.zip
1112
mkdir sdk
1213
unzip -q sdk-${SDK_VERSION}.zip -d sdk

0 commit comments

Comments
 (0)