Skip to content

Make ArweaveMinerUi Release #5

Make ArweaveMinerUi Release

Make ArweaveMinerUi Release #5

Workflow file for this run

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 }}