From b6619e2ea49e50de20b03b9cc29aadad37925c2f Mon Sep 17 00:00:00 2001 From: izzy Date: Tue, 30 Sep 2025 15:57:13 -0500 Subject: [PATCH] ci: attempt publish --- .github/workflows/build.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8f8fc9..3ad9e5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,21 +11,23 @@ jobs: os: [macos-latest, ubuntu-latest, windows-latest] steps: - - name: Check out Git repository - uses: actions/checkout@v1 + - name: Checkout + uses: actions/checkout@v4 - - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + - uses: pnpm/action-setup@v4 + name: Install pnpm with: - node-version: 10 + version: 10 + run_install: false - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 + - name: Install Node.js + uses: actions/setup-node@v4 with: - # GitHub token, automatically provided to the action - # (No need to define this secret in the repo settings) - github_token: ${{ secrets.github_token }} + node-version: 20 + cache: "pnpm" - # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} + - name: Install dependencies + run: pnpm install + + - name: Publish + run: pnpm publish