mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
and this one
This commit is contained in:
parent
24bdb5810b
commit
d57ed9a803
|
@ -30,6 +30,6 @@ runs:
|
|||
shell: sh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ inputs.token }}
|
||||
AWS_S3_CACHE: ${{ inputs.AWS_S3_CACHE }}
|
||||
AWS_S3_BUCKET: ${{ inputs.AWS_S3_BUCKET }}
|
||||
AWS_ACCESS_KEY_ID: ${{ inputs.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ inputs.AWS_SECRET_ACCESS_KEY }}
|
||||
|
|
|
@ -33,7 +33,7 @@ if (import.meta.main) {
|
|||
secretKey: Deno.env.get("AWS_SECRET_ACCESS_KEY")!,
|
||||
region: "us-east-1",
|
||||
})
|
||||
const bucket = s3.getBucket(Deno.env.get("AWS_S3_CACHE")!)
|
||||
const bucket = s3.getBucket(Deno.env.get("AWS_S3_BUCKET")!)
|
||||
|
||||
const key = `pull-request/${repo.split("/")[1]}/${pr}/${flavor}`
|
||||
const artifacts = (await bucket.getObject(key)) ?? panic("No artifacts found")
|
||||
|
|
3
.github/workflows/bottle.yml
vendored
3
.github/workflows/bottle.yml
vendored
|
@ -46,8 +46,9 @@ jobs:
|
|||
- uses: teaxyz/pantry.core/.github/actions/fetch-pr-artifacts@main
|
||||
if: ${{ !inputs.new-version }}
|
||||
with:
|
||||
platform: ${{ inputs.platform }}
|
||||
token: ${{ github.token }}
|
||||
AWS_S3_CACHE: ${{ secrets.AWS_S3_CACHE }}
|
||||
AWS_S3_BUCKET: ${{ secrets.AWS_S3_CACHE }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue