mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[Ubuntu] Fix aws-sam-cli repository url (#1482)
* fix url * change directory name
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
source $HELPER_SCRIPTS/document.sh
|
||||
|
||||
# Download latest aws sam cli sources
|
||||
TarballUrl=$(curl -s https://api.github.com/repos/awslabs/aws-sam-cli/releases/latest | jq -r '.tarball_url')
|
||||
TarballUrl=$(curl -s https://api.github.com/repos/aws/aws-sam-cli/releases/latest | jq -r '.tarball_url')
|
||||
TarballPath="/tmp/aws-sam-cli.tar.gz"
|
||||
wget $TarballUrl -O $TarballPath
|
||||
tar -xzvf $TarballPath -C /tmp
|
||||
cd /tmp/awslabs-aws-sam-cli*
|
||||
cd /tmp/aws-aws-sam-cli*
|
||||
|
||||
mkdir /opt/python-aws-sam-cli
|
||||
cp -r /opt/hostedtoolcache/Python/3.7* /opt/python-aws-sam-cli
|
||||
|
||||
Reference in New Issue
Block a user