Skip to content

Commit

Permalink
Add a build/release workflow on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkyaraj-23 committed Nov 20, 2024
1 parent 85d0838 commit 740aaa9
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: release-dekstop-app
on:
push:
tags:
- 'v*.*.*'
jobs:
create-release-linux:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Install GitHub CLI
run: sudo apt-get install gh

- uses: pnpm/action-setup@v3
with:
version: 9.7.0

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 21
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Create Draft Release
run: gh release create ${{ github.ref }} --draft --title "Release ${{ github.ref }}" --notes-from-tag

- name: Enter desktop app directory
run: cd apps/desktop

- name: electron-publish-linux
run: CI=true GH_TOKEN=${{ secrets.github_token }} pnpm run electron:package:linux



0 comments on commit 740aaa9

Please sign in to comment.