Hi,
I want to use Github Actions with Deno 2 to automaticaly compile to a executable. I got the workflow setup but now recive the
following error in the compile step:
Run deno compile --allow-write --allow-read --target x86_64-pc-windows-msvc --icon ./icon.ico --output ./build/windows/ConventionalFighter.exe main.ts
Download https://registry.npmjs.org/keypress
Check file:///D:/a/ConventionalFighter/ConventionalFighter/main.ts
Compile file:///D:/a/ConventionalFighter/ConventionalFighter/main.ts to ./build/windows/ConventionalFighter.exe
Download https://dl.deno.land/release/v2.0.3/denort-x86_64-pc-windows-msvc.zip
error: Writing deno compile executable to temporary file './build/windows\ConventionalFighter.exe.tmp-0b65dea24cd6b2cb'
Caused by:
The system cannot find the file specified. (os error 2)
Error: Process completed with exit code 1.
My workflow steps looks like this:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v2.0.0
- name: Build for Windows
run: deno compile --allow-write --allow-read --target x86_64-pc-windows-msvc --icon ./icon.ico --output ./build/windows/ConventionalFighter.exe main.ts
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: ConventionalFighter-Windows
path: ./build/windows/ConventionalFighter.exe
Hi,
I want to use Github Actions with Deno 2 to automaticaly compile to a executable. I got the workflow setup but now recive the
following error in the compile step:
Run deno compile --allow-write --allow-read --target x86_64-pc-windows-msvc --icon ./icon.ico --output ./build/windows/ConventionalFighter.exe main.tsDownload https://registry.npmjs.org/keypressCheck file:///D:/a/ConventionalFighter/ConventionalFighter/main.tsCompile file:///D:/a/ConventionalFighter/ConventionalFighter/main.ts to ./build/windows/ConventionalFighter.exeDownload https://dl.deno.land/release/v2.0.3/denort-x86_64-pc-windows-msvc.ziperror: Writing deno compile executable to temporary file './build/windows\ConventionalFighter.exe.tmp-0b65dea24cd6b2cb'Caused by:The system cannot find the file specified. (os error 2)Error: Process completed with exit code 1.My workflow steps looks like this: