Skip to content

Commit

Permalink
Attempt to create pre-built Windows nexe binary release
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbenincasa committed Apr 2, 2024
1 parent 3df5aa2 commit d50d46a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,20 @@ jobs:
- name: Install nexe
run: pnpm install -g nexe@next

- name: Install dependencies
run: pnpm install
# - name: Install dependencies
# run: pnpm install

- name: Build Tunarr
run: pnpm turbo bundle
# - name: Build Tunarr
# run: pnpm turbo bundle

- name: Build Windows exe
run: pnpm turbo make-exec:windows
run: nexe -t windows-x64-20.11.1 --build --name dummy.exe --verbose ./server/scripts/dummy-script.js

- run: xcopy C:\Users\runneradmin\.nexe\20.11.1\out\Release\node windows-x64-20.11.1

- name: Upload pre-built Windows nexe
uses: softprops/action-gh-release@v2
with:
name: nexe-windows-prebuild-20.11.1
files: |
windows-x64-20.11.1
3 changes: 3 additions & 0 deletions server/scripts/dummy-script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Used as a dummy entrypoint when generating the pre-built
// nexe Windows binary.
console.log('Hello world');

0 comments on commit d50d46a

Please sign in to comment.