2023-02-01 09:13:09 +03:00
|
|
|
name: index-data
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
projects:
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
|
|
|
|
jobs:
|
2023-02-02 17:00:52 +03:00
|
|
|
queue-detail-ingestion:
|
2023-02-01 09:13:09 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-02-11 15:29:19 +03:00
|
|
|
- uses: actions/cache@v3
|
2023-02-05 02:49:21 +03:00
|
|
|
with:
|
|
|
|
path: $HOME/.cache/deno
|
2023-02-05 03:10:30 +03:00
|
|
|
key: ${{ runner.os }}-deno-queue-detail-ingestion-${{ hashFiles('deno.jsonc')}}
|
2023-02-01 09:13:09 +03:00
|
|
|
- uses: teaxyz/setup@v0
|
2023-02-03 00:51:19 +03:00
|
|
|
- run: ./scripts/index-packages.ts ${{ inputs.projects }}
|
2023-02-01 09:13:09 +03:00
|
|
|
env:
|
2023-02-03 00:51:19 +03:00
|
|
|
TEA_PANTRY_PATH: ${{ github.workspace }}
|
2023-02-01 09:13:09 +03:00
|
|
|
AWS_REGION: us-east-1
|
|
|
|
SQS_GENERATE_PACKAGE_DETAILS_URL: ${{ secrets.SQS_GENERATE_PACKAGE_DETAILS_URL }}
|