Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 6adf66d

Browse files
committed
chore: add windows installer
1 parent fdb9d31 commit 6adf66d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/cortex-js-artifact.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
include:
4040
- os: "linux"
4141
name: "amd64"
42-
runs-on: "ubuntu-20-04"
42+
runs-on: "ubuntu-latest"
4343

4444
- os: "windows"
4545
name: "amd64"
46-
runs-on: "windows-cuda-12-0"
46+
runs-on: "windows-latest"
4747

4848
- os: "mac"
4949
name: "amd64"
@@ -103,13 +103,22 @@ jobs:
103103
cd cortex-js
104104
make postbundle
105105
106+
- name: Compile .ISS to .EXE Installer
107+
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
108+
if: runner.os == 'Windows'
109+
with:
110+
path: cortex-js/installer.iss
111+
options: /O+
112+
106113
- name: Upload Artifact
107114
uses: actions/upload-artifact@v2
108115
with:
109116
name: cortex-${{ matrix.os }}-${{ matrix.name }}
110117
path: |
111118
./cortex-js/cortex
112119
./cortex-js/cortex.exe
120+
./cortex-js/installer.exe
121+
./installer.exe
113122
114123
- uses: actions/upload-release-asset@v1.0.1
115124
env:

0 commit comments

Comments
 (0)