From 36aa84d9d7bb7d2852afb1f9b39d520689dc3c7f Mon Sep 17 00:00:00 2001 From: Charles Olivier Savignac Date: Sat, 22 Jun 2024 11:29:50 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19dfd00c..5b45677b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,8 +2,6 @@ name: Build/release on: push: - branches-ignore: - - 'dependabot/**' pull_request: jobs: @@ -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') }} + + +