Skip to content

Commit

Permalink
Fetch orbit chain data
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Dec 11, 2024
1 parent f82aadc commit f4c514a
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/generate-token-lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,8 @@ jobs:
path: '**/node_modules'
key: ${{ steps.cache.outputs.primary-key }}

fetch-orbit-chains-data:
runs-on: ubuntu-latest
steps:
- name: Fetch orbit chains data
run: npx ts-node .github/scripts/fetchOrbitChainsData.ts

generate-matrix:
runs-on: ubuntu-latest
needs: [fetch-orbit-chains-data]
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -65,7 +58,9 @@ jobs:
run: npm install ts-node typescript

- id: set-matrix
run: echo "matrix=$(npx ts-node .github/scripts/generateMatrix.ts)" >> $GITHUB_OUTPUT
run: |
npx ts-node .github/scripts/fetchOrbitChainsData.ts
echo "matrix=$(npx ts-node .github/scripts/generateMatrix.ts)" >> $GITHUB_OUTPUT
generate-token-lists:
name: 'Generate'
Expand Down

0 comments on commit f4c514a

Please sign in to comment.