Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
sajjadmrx committed Aug 4, 2023
1 parent eaa014f commit 43371ff
Showing 1 changed file with 46 additions and 11 deletions.
57 changes: 46 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,57 @@
name: Release

on:
push:
branches:
- "main"
- "new-ui"
branches: ["main"]
paths-ignore:
- "README.md"
- "README-*.md"
- ".github/ISSUE_TEMPLATE/*"
jobs:
publish:
runs-on: ${{ matrix.os }}
publish_on_linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm

- name: Install dependencies
run: npm ci

- name: Install electron-builder
run: npm i electron-builder -g

- name: Publish
env:
GH_TOKEN: ${{ secrets.TOKEN }}
run: npm run publish:linux
publish_on_win:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm

- name: Install dependencies
run: npm ci

- name: Install electron-builder
run: npm i electron-builder -g

- name: Publish
env:
GH_TOKEN: ${{ secrets.TOKEN }}
run: npm run publish:win
publish_on_macos:
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -36,4 +71,4 @@ jobs:
- name: Publish
env:
GH_TOKEN: ${{ secrets.TOKEN }}
run: npm run publish:${{ matrix.os }}
run: npm run publish:mac

0 comments on commit 43371ff

Please sign in to comment.