Skip to content

Commit

Permalink
fix electron build
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfluegge committed Nov 18, 2024
1 parent cbfd312 commit fbd723e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Extract release tag
id: get_tag
run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
run: echo "RELEASE_TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV

- name: Build and push Docker image api
uses: docker/build-push-action@v5
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/electron-build-and-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Electron Build and Publish

on:
workflow_run:
workflows: ["Release Build"]
types: [completed]
pull_request:
branches: [main]
# workflow_run:
# workflows: ["Release Build"]
# types: [completed]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "npm run config-prod && ng build --configuration production",
"build-local": "export API_URL='http://localhost:3002' && npm run config-dev && ng build",
"build-electron": "npm run config-prod && ng build --configuration production --base-href ./",
"bundle-electron": "./node_modules/.bin/electron-builder --publish always",
"bundle-electron": "./node_modules/.bin/electron-builder --publish always --mac --arm64",
"test": "ng test"
},
"private": true,
Expand Down

0 comments on commit fbd723e

Please sign in to comment.