Simplify temporary file handling in CI scripts (#2680)

This commit is contained in:
Andrew Gaul
2025-06-07 14:56:32 +09:00
committed by GitHub
parent 872f53d35a
commit 0e5bccc20b
2 changed files with 5 additions and 11 deletions

View File

@ -137,10 +137,9 @@ jobs:
- name: Install awscli2
run: |
cd /tmp
# TODO: pin version to work around https://github.com/gaul/s3proxy/issues/760
curl "https://awscli.amazonaws.com/AWSCLIV2-2.22.35.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
curl "https://awscli.amazonaws.com/AWSCLIV2-2.22.35.pkg" -o /tmp/AWSCLIV2.pkg
sudo installer -pkg /tmp/AWSCLIV2.pkg -target /
- name: Build
run: |