Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Dec 13, 2024
1 parent d76facd commit d51e97b
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/generate-token-lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,36 +42,37 @@ jobs:
path: '**/node_modules'
key: ${{ steps.cache.outputs.primary-key }}

generate-orbit-chains-data:
name: 'Generate Orbit Chains'
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/restore-cache
- uses: ./.github/actions/generate-orbit-chains-data
# generate-orbit-chains-data:
# name: 'Generate Orbit Chains'
# runs-on: ubuntu-latest
# needs: install
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/restore-cache
# - uses: ./.github/actions/generate-orbit-chains-data

generate-matrix:
runs-on: ubuntu-latest
needs: [install, generate-orbit-chains-data]
needs: [install]
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4

# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '20'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

# - name: Install dependencies
# run: npm install ts-node typescript
- name: Install dependencies
run: npm install ts-node typescript

- uses: ./.github/actions/restore-cache
- uses: ./.github/actions/restore-orbit-chains-data

- id: set-matrix
run: echo "matrix=$(yarn ts-node .github/scripts/generateMatrix.ts)" >> $GITHUB_OUTPUT
run: |
yarn generate:orbitChainsData
echo "matrix=$(npx ts-node .github/scripts/generateMatrix.ts)" >> $GITHUB_OUTPUT
generate-token-lists:
name: 'Generate'
Expand Down Expand Up @@ -100,7 +101,6 @@ jobs:
- uses: actions/checkout@v3

- uses: ./.github/actions/restore-cache
- uses: ./.github/actions/restore-orbit-chains-data

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1-node16
Expand Down

0 comments on commit d51e97b

Please sign in to comment.