feat(launchpad): Use DAO Proposal Single contract address in nft-launchpad contract config #3853
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Desktop App | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
jobs: | |
prepare-desktop-build: | |
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.22.8" | |
- 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-desktop: | |
needs: prepare-desktop-build | |
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.22.8" | |
- 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 |