Skip to content

Commit

Permalink
v0.0.35
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasLukasczyk committed Jun 18, 2024
1 parent 8af69da commit 6a5928c
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 9 deletions.
52 changes: 46 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,52 @@ on:
workflow_dispatch:

jobs:
release:
runs-on: ${{ matrix.os }}
release-win:
runs-on: windows-latest

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install Dependencies
run: 'npm install'

- name: Build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: 'npm run publish:win'

release-mac:
runs-on: macos-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install Dependencies
run: 'npm install'

- name: Build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: 'npm run publish:mac'

release-lnx:
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
Expand All @@ -31,4 +71,4 @@ jobs:
- name: Build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: 'npm run publish'
run: 'npm run publish:lnx'
2 changes: 1 addition & 1 deletion electron-builder.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const config = {
"target": ["zip"]
},
mac: {
"extraResources": ['git-binaries/mac'],
// "extraResources": ['git-binaries/mac'],
"target": ["dmg"]
},
linux: {
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ARCitect",
"version": "v0.0.33",
"version": "v0.0.35",
"author": "nfdi4plants.org",
"description": "Tool to edit Annotated Research Contexts (ARCs).",
"private": true,
Expand All @@ -18,7 +18,9 @@
"compile": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.cjs",
"compilew": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.cjs --win",
"compilem": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.cjs --mac",
"publish": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.cjs --publish always",
"publish:win": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.cjs --publish always",
"publish:mac": "cross-env MODE=production npm run build && electron-builder build --universal --config electron-builder.config.cjs --publish always",
"publish:lnx": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.cjs --publish always",
"start": "node scripts/debug.js",
"lint": "eslint . --ext js,ts,vue",
"typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",
Expand Down

0 comments on commit 6a5928c

Please sign in to comment.