From 85cec1cddd1c50e6283bbe0bc3718adc04e654e8 Mon Sep 17 00:00:00 2001 From: Abhishek Jalan Date: Wed, 25 Oct 2023 22:13:25 +0200 Subject: [PATCH 1/2] added font download stage in github actions --- .github/workflows/electron-build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index deb1940096..8d90958a65 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -23,6 +23,26 @@ jobs: with: node-version: ${{ steps.nvm.outputs.NODE_VERSION }} + - uses: actions/setup-python@v4 #Install awscli on all platform + with: + python-version: '3.10' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install --upgrade pip + pip install awscli + + - name: Configure AWS cli + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.AWS_DEFAULT_REGION }} + + - name: Download from S3 + run: | + aws s3 sync s3://lisk-desktop-files/fonts ./setup/react/assets/fonts/ + - name: Prepare for mac os app notarization if: startsWith(matrix.os, 'macos') # Import Apple API key for app notarization on macOS From 53ffd29973f7218eb203d929bc9297db019394f8 Mon Sep 17 00:00:00 2001 From: Abhishek Jalan Date: Thu, 26 Oct 2023 10:15:07 +0200 Subject: [PATCH 2/2] change github actions name --- .github/workflows/electron-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index 8d90958a65..2a94717816 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-python@v4 #Install awscli on all platform with: python-version: '3.10' - - name: Install dependencies + - name: Install AWSCLI run: | python -m pip install --upgrade pip pip install --upgrade pip @@ -39,7 +39,7 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_DEFAULT_REGION }} - - name: Download from S3 + - name: Download fonts from S3 run: | aws s3 sync s3://lisk-desktop-files/fonts ./setup/react/assets/fonts/