Skip to content

feat: upgrade chain-registry #3291

feat: upgrade chain-registry

feat: upgrade chain-registry #3291

Workflow file for this run

name: Build Desktop App
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: ".nvmrc"
- uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: Install node modules
run: yarn
- name: Prepare
run: make prepare-electron
- name: Upload web build
uses: actions/upload-artifact@v3
with:
name: electron-web-build
path: electron/web-build
if-no-files-found: error
build:
needs: prepare
strategy:
matrix:
include:
- os: linux
runner: ubuntu-latest
arch: amd64
- os: macos
runner: macos-latest
arch: amd64
- os: windows
runner: macos-latest
arch: amd64
runs-on: ${{ matrix.runner }}
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: ".nvmrc"
- uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: Install node modules
run: yarn
- name: Download web build
uses: actions/download-artifact@v3
with:
name: electron-web-build
path: electron/web-build
- name: Build ${{ matrix.os }}-${{ matrix.arch }}
run: make build-electron-${{ matrix.os }}-${{ matrix.arch }}
- name: Upload AppImage
uses: actions/upload-artifact@v3
if: matrix.os == 'linux'
with:
name: teritori-${{ github.sha }}-${{ matrix.os }}-${{ matrix.arch }}-AppImage
path: electron/dist/artifacts/local/*.AppImage
if-no-files-found: error
- name: Upload deb
uses: actions/upload-artifact@v3
if: matrix.os == 'linux'
with:
name: teritori-${{ github.sha }}-${{ matrix.os }}-${{ matrix.arch }}-deb
path: electron/dist/artifacts/local/*.deb
if-no-files-found: error
- name: Upload dmg
uses: actions/upload-artifact@v3
if: matrix.os == 'macos'
with:
name: teritori-${{ github.sha }}-${{ matrix.os }}-${{ matrix.arch }}-dmg
path: electron/dist/artifacts/local/*.dmg
if-no-files-found: error
- name: Upload exe
uses: actions/upload-artifact@v3
if: matrix.os == 'windows'
with:
name: teritori-${{ github.sha }}-${{ matrix.os }}-${{ matrix.arch }}-exe
path: electron/dist/artifacts/local/*.exe
if-no-files-found: error