diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index deb1940096..2a94717816 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 AWSCLI + 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 fonts 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