This repository has been archived by the owner on Dec 27, 2024. It is now read-only.
Merge pull request #17 from sircharlo/mergify/sircharlo/config-update #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build/release | |
on: | |
push: | |
pull_request: | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'yarn' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- run: pip install setuptools | |
- run: yarn install && yarn global add @quasar/cli | |
- name: Build and publish Electron app | |
if: "!startsWith(github.ref, 'refs/tags/v')" | |
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.ref, 'refs/tags/v')" | |
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') }} | |