Skip to content

Commit

Permalink
chore: github actions and electron forge config
Browse files Browse the repository at this point in the history
  • Loading branch information
rboixaderg committed Nov 10, 2023
1 parent 91861c4 commit 80e3257
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Build
on:
push:
branches:
Expand Down Expand Up @@ -26,9 +26,6 @@ jobs:
- name: Compile Deno app
run: deno compile --allow-read --allow-write --allow-net --allow-env http_server.ts

- name: Run Deno app
run: ./http_server

- name: Copy binary to the current directory of the job
run: cp ./http_server ${{ github.workspace }}/electron_app

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: build
name: Release
on:
push:
branches:
- main
pull_request:
branches:
- main
tags:
- 'v*'
jobs:
build_server:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion electron-app/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
packagerConfig: {
asar: true,
name: "Nuclia sync",
executableName: "nuclia-sync",
executableName: "nuclia-sync-agent",
},
rebuildConfig: {},
makers: [
Expand Down
4 changes: 2 additions & 2 deletions electron-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuclia-sync-agent-app",
"productName": "nuclia-sync-agent-app",
"name": "nuclia-sync-agent",
"productName": "nuclia-sync-agent",
"version": "0.0.1",
"description": "This is a Nuclia Sync Agent App",
"main": "src/index.js",
Expand Down

0 comments on commit 80e3257

Please sign in to comment.