Skip to content

Commit

Permalink
ci: setup API keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicoulaud-ledger committed Oct 10, 2024
1 parent 2d286bb commit 9a12c2f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ jobs:
dependencies
add_comment: true

- name: Get API keys
timeout-minutes: 10
shell: bash
run: |
cat << EOF | jq -r 'to_entries[] | select(.key|endswith("_API_KEY")) | "\(.key)=\(.value)"' >> "$GITHUB_ENV"
${{ toJSON(secrets) }}
EOF
- name: Setup pre-commit cache
timeout-minutes: 10
uses: actions/cache@v4
Expand Down

0 comments on commit 9a12c2f

Please sign in to comment.