Skip to content

adding publish

adding publish #6

Workflow file for this run

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
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run publish
release-name: 'Latest rolling build'

Check failure on line 33 in .github/workflows/make-mac.yml

View workflow run for this annotation

GitHub Actions / Release macOS dmg

Invalid workflow file

The workflow is not valid. .github/workflows/make-mac.yml (Line: 33, Col: 7): Unexpected value 'release-name' .github/workflows/make-mac.yml (Line: 34, Col: 7): Unexpected value 'tag-name'
tag-name: 'v0.1-alpha'
asset-name: 'simply-code-1.0.0-arm64.dmg'
file: 'out/make/simply-code-1.0.0-arm64.dmg'
# 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