Skip to content

Fix: pin python to 3.11 for nodejs/node-gyp#2869 #19

Fix: pin python to 3.11 for nodejs/node-gyp#2869

Fix: pin python to 3.11 for nodejs/node-gyp#2869 #19

Workflow file for this run

name: Release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: write
env:
PYTHON_VERSION: "3.11"
jobs:
publish:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install dependencies
run: yarn install
- name: Publish using Electron Forge
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn run publish