Skip to content

Commit

Permalink
ci: debug ubuntu build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli committed Nov 30, 2023
1 parent 09f8a62 commit 0ea4dad
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@ name: Make ArweaveMinerUi Release

on:
workflow_dispatch:
inputs:
version:
description: "Version to release"
required: true
# 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]
os: [ubuntu-latest] #[macos-latest, ubuntu-latest, windows-latest]

steps:
- name: Check out Git repository
Expand All @@ -23,16 +26,19 @@ jobs:
uses: actions/setup-node@master
with:
node-version: 20

- name: Build/release Electron app
id: create_electron_release
uses: samuelmeuli/action-electron-builder@v1.6.0
with:
github_token: ${{ secrets.github_token }}
release: ${{ github.event.inputs.version}}
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 }}

0 comments on commit 0ea4dad

Please sign in to comment.