removing github token maker #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release macOS dmg | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ GovertDev ] | |
jobs: | |
build_on_mac: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# You can test your matrix by printing the current Python version | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- uses: actions/setup-node@master | |
with: | |
node-version: 20 | |
- name: install dependencies | |
run: npm install | |
- name: build | |
run: npm run make-mac | |
- name: Publish app | |
run: npm run publish | |
# build: | |
# strategy: | |
# matrix: | |
# os: | |
# [ | |
# { name: 'linux', image: 'ubuntu-latest' }, | |
# { name: 'windows', image: 'windows-latest' }, | |
# { name: 'macos', image: 'macos-latest' }, | |
# ] | |
# runs-on: ${{ matrix.os.image }} | |
# steps: | |
# - name: Github checkout | |
# uses: actions/checkout@v4 | |
# - name: Use Node.js | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: 20 | |
# - run: npm install --save-dev @electron-forge/cli | |
# - run: npx electron-forge import | |
# - name: Publish app | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# run: npm run publish |