test different awscli version

This commit is contained in:
Maximilian Hils 2025-02-06 00:42:38 +01:00
parent 5a135df3b2
commit 10e63c9dba
2 changed files with 3 additions and 13 deletions

View file

@ -335,8 +335,7 @@ jobs:
steps:
- uses: mhils/workflows/checkout@34e9a0dabe3f355d60c385cdb1b1368c9219ecd3
- uses: mhils/workflows/setup-python@34e9a0dabe3f355d60c385cdb1b1368c9219ecd3
- run: sudo apt-get update
- run: sudo apt-get install -y awscli
- run: pip install awscli==1.36.40
- if: startsWith(github.ref, 'refs/tags/')
run: sudo apt-get install -y twine
@ -365,12 +364,3 @@ jobs:
- run: ls release/dist
- run: ./release/deploy.py
- name: Deploy to Microsoft Store (test flight)
if: github.ref == 'refs/heads/citest'
run: ./release/deploy-microsoft-store.py release/dist/*.msix
env:
MSFT_APP_FLIGHT: 174ca570-8cae-4444-9858-c07293f1f13a
- name: Deploy to Microsoft Store
if: startsWith(github.ref, 'refs/tags/')
run: ./release/deploy-microsoft-store.py release/dist/*.msix

View file

@ -39,8 +39,8 @@ if __name__ == "__main__":
f"s3://snapshots.mitmproxy.org/{upload_dir}",
]
)
if tag:
# We can't scope R2 tokens, so they are only exposed in the deploy env.
if True:
# We can't scope R2 tokens, so they are only exposed in the deploy and citest envs.
print(f"Uploading binaries to downloads.mitmproxy.org/{upload_dir}...")
subprocess.check_call(
[