pantry/.github/workflows/index-data.yml
2023-02-05 06:34:29 -05:00

24 lines
667 B
YAML

name: index-data
on:
workflow_call:
inputs:
projects:
required: true
type: string
jobs:
queue-detail-ingestion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: $HOME/.cache/deno
key: ${{ runner.os }}-deno-queue-detail-ingestion-${{ hashFiles('deno.jsonc')}}
- uses: teaxyz/setup@v0
- run: ./scripts/index-packages.ts ${{ inputs.projects }}
env:
TEA_PANTRY_PATH: ${{ github.workspace }}
AWS_REGION: us-east-1
SQS_GENERATE_PACKAGE_DETAILS_URL: ${{ secrets.SQS_GENERATE_PACKAGE_DETAILS_URL }}