From d605b1ea051f09a89bc8b06e6a82c17b2c4f696e Mon Sep 17 00:00:00 2001 From: Brian Whitney Date: Tue, 4 Feb 2025 13:46:58 -0800 Subject: [PATCH] update workflow spacing --- .github/workflows/manual-build.yml | 45 ++++++++++++++++++++++++++++++ .github/workflows/maunal-build.yml | 45 ------------------------------ 2 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 .github/workflows/manual-build.yml delete mode 100644 .github/workflows/maunal-build.yml diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml new file mode 100644 index 00000000..af3003bf --- /dev/null +++ b/.github/workflows/manual-build.yml @@ -0,0 +1,45 @@ +name: manual-build + +on: + workflow_dispatch: + inputs: + os: + description: "Operating System" + required: true + type: choice + options: + - ubuntu-latest + - windows-latest + - macos-latest + +jobs: + build: + runs-on: ${{ github.event.inputs.os }} + + steps: + - name: Check out Git repository + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 18 + + - name: Build/release Electron app + uses: AllenCellSoftware/action-electron-builder@fms-file-explorer + env: + AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }} + with: + github_token: ${{ secrets.github_token }} + package_root: "packages/desktop" + release: false # No release, just build + windows_certs: ${{ secrets.CSC_LINK }} + windows_certs_password: ${{ secrets.CSC_KEY_PASSWORD }} + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: electron-build-${{ github.event.inputs.os }} + path: | + packages/desktop/build + retention-days: 7 # Artifacts will be stored for 7 days \ No newline at end of file diff --git a/.github/workflows/maunal-build.yml b/.github/workflows/maunal-build.yml deleted file mode 100644 index e4e7e436..00000000 --- a/.github/workflows/maunal-build.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: manual-build - - on: - workflow_dispatch: - inputs: - os: - description: "Operating System" - required: true - type: choice - options: - - ubuntu-latest - - windows-latest - - macos-latest - - jobs: - build: - runs-on: ${{ github.event.inputs.os }} - - steps: - - name: Check out Git repository - uses: actions/checkout@v4 - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 18 - - - name: Build/release Electron app - uses: AllenCellSoftware/action-electron-builder@fms-file-explorer - env: - AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }} - with: - github_token: ${{ secrets.github_token }} - package_root: "packages/desktop" - release: false # No release, just build - windows_certs: ${{ secrets.CSC_LINK }} - windows_certs_password: ${{ secrets.CSC_KEY_PASSWORD }} - - - name: Upload build artifacts - uses: actions/upload-artifact@v4 - with: - name: electron-build-${{ github.event.inputs.os }} - path: | - packages/desktop/build - retention-days: 7 # Artifacts will be stored for 7 days \ No newline at end of file