From 10e63c9dba32326253dd150d2e7c682c8a60dafc Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 6 Feb 2025 00:42:38 +0100 Subject: [PATCH] test different awscli version --- .github/workflows/main.yml | 12 +----------- release/deploy.py | 4 ++-- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f11aa8e2..a64f936ac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/release/deploy.py b/release/deploy.py index f9dee28c8..d936e5d1b 100755 --- a/release/deploy.py +++ b/release/deploy.py @@ -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( [