Skip to content

Pushing new version #17

Pushing new version

Pushing new version #17

Workflow file for this run

name: Electron Forge Publish
on:
push:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Clear npm cache
run: npm cache clean --force
- name: Remove node_modules and package-lock.json
run: |
if [ -d "node_modules" ]; then rm -rf node_modules; fi
if [ -f "package-lock.json" ]; then rm package-lock.json; fi
shell: bash
- name: Install dependencies
run: npm install
- name: Run Electron Forge Publish
run: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.MY_PERSONAL_ACCESS_TOKEN }}