ci: test aws for release

This commit is contained in:
Mitchell Hashimoto
2024-03-04 21:10:08 -08:00
parent 6d8fb512a5
commit c37a595b81

View File

@ -44,6 +44,16 @@ jobs:
# Important so that build number generation works
fetch-depth: 0
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: auto
aws-access-key-id: ${{ secrets.CF_R2_TIP_AWS_KEY }}
aws-secret-access-key: ${{ secrets.CF_R2_TIP_AWS_KEY }}
- name: Test List
run: |
aws s3api list-objects-v2 --endpoint-url https://${{ secrets.CF_R2_TIP_ACCOUNT_ID }}.r2.cloudflarestorage.com --bucket ghostty-tip
# Install Nix and use that to run our tests so our environment matches exactly.
- uses: cachix/install-nix-action@v24
with: