Skip to content

Commit

Permalink
Merge pull request #5405 from LiskHQ/setup-electron-builder-githubact…
Browse files Browse the repository at this point in the history
…ions

Added font download stage in github actions
  • Loading branch information
ManuGowda authored Oct 26, 2023
2 parents e62e80a + 53ffd29 commit 9c27dcd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/electron-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c27dcd

Please sign in to comment.