Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
piterofc committed Mar 9, 2024
1 parent 267d299 commit a473882
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,27 @@ jobs:
os: [macos-latest, ubuntu-latest]

steps:
- run: python3 -m pip install setuptools

- name: Setup Python 2.x (Mac)
if: startsWith(matrix.os, 'macos')
uses: actions/setup-python@v4
with:
python-version: '2.x'

- name: Python install setuptools (Mac)
if: startsWith(matrix.os, 'macos')
run: python2 -m pip install setuptools

- name: Check out the repository
uses: actions/checkout@v2

- name: Setup Node.js 16.x (macos)
- name: Setup Node.js 16.x (Mac)
if: startsWith(matrix.os, 'macos')
uses: actions/setup-node@v1
with:
node-version: '16.x'

- name: Setup Node.js 14.x (ubuntu)
- name: Setup Node.js 14.x (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
uses: actions/setup-node@v1
with:
Expand All @@ -43,12 +52,6 @@ jobs:
sudo flatpak install flathub org.freedesktop.Platform/x86_64/22.08 org.freedesktop.Sdk/x86_64/22.08 org.electronjs.Electron2.BaseApp/x86_64/22.08 -y
git config --global --add protocol.file.allow always
- name: Setup Python 3.11 (macOS)
if: startsWith(matrix.os, 'macos')
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Make and Publish (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: npm run build-linux
Expand Down

0 comments on commit a473882

Please sign in to comment.