Skip to content

Update electron-builder-mac.yml #7

Update electron-builder-mac.yml

Update electron-builder-mac.yml #7

name: electron-builder
on: push
jobs:
build_on_mac:
runs-on: macos-latest
steps:
- name: Check out Git repo
uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
- name: Install dependencies
run: yarn
- name: Build for MacOS
run: yarn electron-builder --mac
- name: Create draft release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v0.0.0
release_name: draft-release
draft: true
prerelease: false
- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/1.1.2/EVE Settings Manager v1.1.2-arm64_mac.dmg
asset_name: EVE Settings Manager v1.1.2-arm64_mac.dmg
# asset_content_type: application/zip