From 7c4d61f546f87269f7c7157d603403082fa5eba6 Mon Sep 17 00:00:00 2001 From: Julian Alarcon Date: Tue, 19 Sep 2023 23:40:34 +0200 Subject: [PATCH] fix: add missing snapcraft installation --- .github/workflows/build-release.yml | 13 ++++++++----- package.json | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 3facae0..40428a8 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -33,13 +33,16 @@ jobs: with: node-version: 20 - - name: Build - run: yarn --link-duplicates --pure-lockfile + - name: Install Snapcraft + uses: samuelmeuli/action-snapcraft@v2 - name: Install libarchive-tools for pacman build # Related https://github.com/electron-userland/electron-builder/issues/4181 if: startsWith(matrix.os, 'ubuntu') run: sudo apt-get install libarchive-tools + - name: Build + run: yarn --link-duplicates --pure-lockfile + - name: Build for test only linux if: | github.ref != 'refs/heads/main' && @@ -92,12 +95,12 @@ jobs: with: node-version: 20 - - name: Build - run: yarn --link-duplicates --pure-lockfile - - name: Install Snapcraft uses: samuelmeuli/action-snapcraft@v2 + - name: Build + run: yarn --link-duplicates --pure-lockfile + - name: Build for test only if: github.ref != 'refs/heads/main' run: yarn dist:linux:snap:${{ matrix.arch }} --publish never diff --git a/package.json b/package.json index 912ecdb..77c0445 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "prospect-mail", "productName": "Prospect Mail", - "version": "0.5.0-beta2", + "version": "0.5.0-beta3", "main": "src/main.js", "description": "Unofficial desktop client for Microsoft Outlook", "homepage": "https://github.com/julian-alarcon/prospect-mail",