Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sircharlo authored Jun 22, 2024
1 parent 2cc39c1 commit 36aa84d
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Build/release

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:

jobs:
Expand Down Expand Up @@ -31,22 +29,31 @@ jobs:
- run: pip install setuptools
- run: yarn install && yarn global add @quasar/cli

- name: Build and publish Electron app
if: "!startsWith(github.head_ref, 'dependabot/')"
run: yarn quasar build -m electron -P always
env:
GITHUB_TOKEN: ${{ github.token }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
# - name: Build and publish Electron app
# if: "!startsWith(github.head_ref, 'dependabot/')"
# run: yarn quasar build -m electron -P always
# env:
# GITHUB_TOKEN: ${{ github.token }}
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

- name: Build Electron app
if: "startsWith(github.head_ref, 'dependabot/')"
run: yarn quasar build -m electron
env:
GITHUB_TOKEN: ${{ github.token }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
# - name: Build Electron app
# if: "startsWith(github.head_ref, 'dependabot/')"
# run: yarn quasar build -m electron
# env:
# GITHUB_TOKEN: ${{ github.token }}
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

# - name: Build/release Electron app
# uses: samuelmeuli/action-electron-builder@v1
# with:
# github_token: ${{ secrets.github_token }}
# release: ${{ startsWith(github.ref, 'refs/tags/v') }}

- name: Electron Builder Action for Quasar
uses: JapSeyz/action-electron-builder@v2.0.1
with:
github_token: ${{ secrets.github_token }}
release: ${{ startsWith(github.ref, 'refs/tags/v') }}



0 comments on commit 36aa84d

Please sign in to comment.