Skip to content

Commit

Permalink
Update appveyor-windows-binary.yml to use sam nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
hnnasit authored Oct 26, 2023
1 parent f5682dc commit 029548d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions appveyor-windows-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ environment:
AWS_ECR: "AWS_ECR_TESTING"
APPVEYOR_CONSOLE_DISABLE_PTY: true

SAM_WINDOWS_BINARY_PATH: "C:\\Program Files\\Amazon\\AWSSAMCLI\\bin\\sam.cmd"
SAM_WINDOWS_BINARY_PATH: "C:\\Program Files\\Amazon\\AWSSAMCLI_NIGHTLY\\bin\\sam-nightly.cmd"

init:
# Uncomment this for RDP
Expand Down Expand Up @@ -130,11 +130,11 @@ install:

# Install aws-sam-cli MSI binary
- ps: "
Invoke-WebRequest -Uri https://github.com/hnnasit/aws-sam-cli/releases/download/v1.99.0/AWS_SAM_CLI_PY3.msi -OutFile aws-sam-cli-installer.msi;
Invoke-WebRequest -Uri https://github.com/aws/aws-sam-cli/releases/download/sam-cli-nightly/AWS_SAM_CLI_64_PY3.msi -OutFile aws-sam-cli-installer.msi;
Start-Process 'C:\\Windows\\System32\\msiexec.exe' -ArgumentList '/i aws-sam-cli-installer.msi /qn /norestart' -wait -PassThru;
"
- 'set PATH=C:\Program Files\Amazon\AWSSAMCLI\bin\;%PATH%'
- 'sam --version'
- 'set PATH=C:\Program Files\Amazon\AWSSAMCLI_NIGHTLY\bin\;%PATH%'
- 'sam-nightly --version'

# Echo final Path
- "echo %PATH%"
Expand Down

0 comments on commit 029548d

Please sign in to comment.