Skip to content

Commit

Permalink
Add Windows to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
staniel359 committed Jan 28, 2024
1 parent 5a1b145 commit 2600bc1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
strategy:
matrix:
os:
- windows-latest
- macos-latest
- ubuntu-latest

Expand Down Expand Up @@ -63,8 +64,10 @@ jobs:
ELECTRON_BUILDER_CACHE: ${{ github.workspace }}/.cache/electron-builder
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
if [ ${{ runner.os }} == 'macOS' ]; then
yarn release --win --mac
if [ ${{ runner.os }} == 'Windows' ]; then
yarn release --win
elif [ ${{ runner.os }} == 'macOS' ]; then
yarn release --mac
elif [ ${{ runner.os }} == 'Linux' ]; then
sudo apt install flatpak flatpak-builder libarchive-tools rpm -y
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
Expand Down

0 comments on commit 2600bc1

Please sign in to comment.