Skip to content

Commit

Permalink
change the cache action position
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamite-bud committed Jun 28, 2023
1 parent ef2cf24 commit b58b03e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,20 @@ jobs:
with:
toolchain: stable

- name: Cache
uses: whywaita/actions-cache-s3@v2
with:
path: |
wasix-rust/build/*
key: r22-${{ github.repository }}-${{ runner.os }}-wasix-rust-${{ matrix.arch }}
aws-s3-bucket: github-cache-wasix
aws-endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
aws-region: auto
aws-s3-bucket-endpoint: false
aws-s3-force-path-style: true
aws-access-key-id: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_TOKEN }}
aws-secret-access-key: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_KEY }}

- name: Download wasix-libc artifact
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -121,20 +135,6 @@ jobs:
ref: main
path: cargo-wasix

- name: Cache
uses: whywaita/actions-cache-s3@v2
with:
path: |
wasix-rust/build/*
key: r22-${{ github.repository }}-${{ runner.os }}-wasix-rust-${{ matrix.arch }}
aws-s3-bucket: github-cache-wasix
aws-endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
aws-region: auto
aws-s3-bucket-endpoint: false
aws-s3-force-path-style: true
aws-access-key-id: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_TOKEN }}
aws-secret-access-key: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_KEY }}

# Linux!

- name: Setup (Ubuntu)
Expand Down

0 comments on commit b58b03e

Please sign in to comment.