Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Merge pull request #138 from thislooksfun/feature/auto-build
Browse files Browse the repository at this point in the history
Tweak the auto build steps
  • Loading branch information
mergify[bot] authored Dec 5, 2019
2 parents 0935d5c + 83ab2dc commit ab4248f
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ jobs:
- run: npm install

# Build
- name: Build for Windows
if: matrix.os == 'windows-latest'
run: npm run electron:build -- -w # -p always

- name: Build for macOS
if: matrix.os == 'macos-latest'
run: npm run electron:build -- -m # -p always

- name: Build for Linux
if: matrix.os == 'linux-latest'
run: npm run electron:build -- -l # -p always
- name: Build on ${{ matrix.os }}
run: |
if [ "${{ matrix.os }}" == 'windows-latest' ]; then
npm run electron:build -- -w # -p always
elif [ "${{ matrix.os }}" == 'macos-latest' ]; then
npm run electron:build -- -m # -p always
elif [ "${{ matrix.os }}" == 'ubuntu-latest' ]; then
npm run electron:build -- -l # -p always
fi

0 comments on commit ab4248f

Please sign in to comment.