-
Notifications
You must be signed in to change notification settings - Fork 11
44 lines (39 loc) · 1.12 KB
/
publish-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Make ArweaveMinerUi Release
on:
workflow_dispatch:
# inputs:
# version:
# description: "Version to release"
# required: true
# release_title:
# description: "Release title"
# required: true
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@master
with:
node-version: 20
- name: Build/release Electron app
run: |
npm install
npm run build
- name: Create headless release artifact
if: matrix.os == 'ubuntu-latest'
id: create_headless_release
run: |
npm run build:headless
zip -r dist-headless.zip ./renderer/dist-headless
# - name: Create a Release
# uses: elgohr/Github-Release-Action@v5
# env:
# GITHUB_TOKEN: ${{ secrets.github_token }}
# with:
# title: ${{ github.event.inputs.version }}