Skip to content

Commit

Permalink
fix app to be built twice
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Aug 16, 2023
1 parent ccabe51 commit 9a981a6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,12 @@ jobs:
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.GITHUB_TOKEN }}

# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
build_script_name: prebuild

- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: app
name: App
path: out

0 comments on commit 9a981a6

Please sign in to comment.