From 01f153d7e58265a89581fbe2db7fec294e1403bd Mon Sep 17 00:00:00 2001 From: bithighlander Date: Mon, 22 Apr 2024 14:38:55 -0500 Subject: [PATCH] debug publish --- .github/workflows/build-electron.yml | 77 ++++++++++++++++------------ 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/.github/workflows/build-electron.yml b/.github/workflows/build-electron.yml index 102a62733..a46690bf1 100644 --- a/.github/workflows/build-electron.yml +++ b/.github/workflows/build-electron.yml @@ -16,42 +16,51 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] + + ### Checkout - steps: - - name: Checkout - uses: nschloe/action-cached-lfs-checkout@v1 - with: - submodules: true + - name: Checkout + uses: nschloe/action-cached-lfs-checkout@v1 + with: + submodules: true + + ### Setup Node - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version-file: '.nvmrc' + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' + + ### Restore Cached Electron Bundles - - name: Restore Cached Electron Bundles - uses: actions/cache@v3 - with: - path: | - ~/.cache/electron - ~/Library/Caches/electron - ~/AppData/Local/electron/Cache - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + - name: Restore Cached Electron Bundles + uses: actions/cache@v3 + with: + path: | + ~/.cache/electron + ~/Library/Caches/electron + ~/AppData/Local/electron/Cache + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + + ### Install Dependencies - - name: Install Dependencies - run: yarn install + - name: Install Dependencies + run: yarn install + + ### Build and Release Electron App - - name: Build and Release Electron App - uses: samuelmeuli/action-electron-builder@v1 - with: - github_token: ${{ secrets.github_token }} - package_root: "packages/keepkey-desktop" # Specify if different - release: ${{ startsWith(github.ref, 'refs/tags/v') }} - env: - NODE_ENV: production - CSC_LINK: ${{ secrets.mac_certs }} - CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }} - APPLE_ID: ${{ secrets.apple_id }} - APPLE_ID_PASSWORD: ${{ secrets.apple_id_password }} - APPLE_TEAM_ID: ${{ secrets.apple_team_id }} - APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.apple_app_specific_password }} - GH_TOKEN: ${{ secrets.github_token }} + - name: Build and Release Electron App + uses: samuelmeuli/action-electron-builder@v1 + with: + github_token: ${{ secrets.github_token }} + package_root: "packages/keepkey-desktop" # Specify if different + release: ${{ startsWith(github.ref, 'refs/tags/v') }} + env: + NODE_ENV: production + CSC_LINK: ${{ secrets.mac_certs }} + CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }} + APPLE_ID: ${{ secrets.apple_id }} + APPLE_ID_PASSWORD: ${{ secrets.apple_id_password }} + APPLE_TEAM_ID: ${{ secrets.apple_team_id }} + APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.apple_app_specific_password }} + GH_TOKEN: ${{ secrets.github_token }}