Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skoro authored Aug 4, 2024
1 parent ac35ccb commit 4f43f9c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:
default: ''
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+'

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build-electron-linux:
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job-to-run == 'build-electron-linux' || github.event.inputs.job-to-run == 'build-electron-snap' || github.event.inputs.job-to-run == '' }}
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job-to-run == 'build-electron-linux' || github.event.inputs.job-to-run == '' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -26,12 +26,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: Build Linux
- name: Build Linux deb
working-directory: .
run: |
npm ci
npm run make
- name: Build deb, rpm
- name: Publish Linux
working-directory: .
run: |
npm ci
Expand All @@ -47,14 +47,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: Build Windows
- name: Build Windows installer
working-directory: .
run: |
npm ci
npm run make
- name: Build windows installer
- name: Build Windows installer
working-directory: .
run: |
npm ci
npm run publish

0 comments on commit 4f43f9c

Please sign in to comment.