From 87726c6e04c20517ffbd81f89a2a4337e1bd1ec6 Mon Sep 17 00:00:00 2001 From: Josh Whittick <92024297+joshwhittick@users.noreply.github.com> Date: Sun, 8 Jun 2025 20:59:27 +0100 Subject: [PATCH] Update fetch.yml edit how secrets is called: Since we call it with: APP_ID: ${{ secrets.APP_ID }} we can reference that with: run: curl -X GET "https://openexchangerates.org/api/latest.json?app_id=$APP_ID" --output core/data/src/main/assets/fiat-rates.json --- .github/workflows/fetch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fetch.yml b/.github/workflows/fetch.yml index 69904ebc8..3fc607d2e 100644 --- a/.github/workflows/fetch.yml +++ b/.github/workflows/fetch.yml @@ -1,4 +1,4 @@ -name: Fetch exchange rates v2 +name: Fetch Exchange Rates on: workflow_dispatch: @@ -38,7 +38,7 @@ jobs: run: python fetch-rates.py - name: Fetch fiat - run: curl -X GET "https://openexchangerates.org/api/latest.json?app_id=${{secrets.APP_ID}}" --output core/data/src/main/assets/fiat-rates.json + run: curl -X GET "https://openexchangerates.org/api/latest.json?app_id=$APP_ID" --output core/data/src/main/assets/fiat-rates.json - name: Check if APP_ID secret is set run: |