Skip to content

Commit

Permalink
build: remove snap specific job
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-alarcon committed Sep 20, 2023
1 parent 1b572db commit 55aea12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,33 +79,3 @@ jobs:
github.ref == 'refs/heads/main' &&
startsWith(matrix.os, 'windows')
run: yarn dist:windows -- --publish always
snap-release:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [x64, armv7l]
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}

steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 20

- 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

- name: Release
if: github.ref == 'refs/heads/main'
run: yarn dist:linux:snap:${{ matrix.arch }} --publish always
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "prospect-mail",
"productName": "Prospect Mail",
"version": "0.5.0-beta3",
"version": "0.5.0-beta4",
"main": "src/main.js",
"description": "Unofficial desktop client for Microsoft Outlook",
"homepage": "https://github.com/julian-alarcon/prospect-mail",
Expand Down

0 comments on commit 55aea12

Please sign in to comment.