Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: debug build issues #21

Merged
merged 5 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
},
plugins: ["@typescript-eslint", "react"],
rules: {
"linebreak-style": ["error", "unix"],
"linebreak-style": ["error", (process.platform === "win32" ? "windows" : "unix")],
"react/no-unknown-property": ["off"],
"react/react-in-jsx-scope": ["off"],
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Make ArweaveMinerUi Release
name: Make ArweaveMinerUi Headless Release

on:
workflow_dispatch:
inputs:
version:
description: "Version to release"
required: true

jobs:
release:
Expand All @@ -23,16 +19,20 @@ jobs:
uses: actions/setup-node@master
with:
node-version: 20

- name: Build/release Electron app
id: create_electron_release
uses: samuelmeuli/[email protected]
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
zip -r headless.zip ./renderer/dist-headless
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "headless.zip"
token: ${{ secrets.GITHUB_TOKEN }}
makeLatest: true
replacesArtifacts: true
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"semi": true,
"useTabs": false,
"tabWidth": 2,
"printWidth": 100
"printWidth": 100,
"endOfLine": "lf"
}
6 changes: 6 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ files:
filter:
- package.json
- app
linux:
artifactName: ArweaveMiner.AppImage
target: AppImage
category: Network
icon: resources/icons/arweave_logo.png
publish: null
publish: null
Loading