actions: invoke win-installer correctly, install innosetup on ci
This commit is contained in:
parent
32729800df
commit
56581fbce3
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
||||||
- name: Install dependencies (Windows)
|
- name: Install dependencies (Windows)
|
||||||
if: matrix.config.os == 'windows-latest'
|
if: matrix.config.os == 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
choco install ninja
|
choco install ninja innosetup
|
||||||
$url = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip"
|
$url = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip"
|
||||||
mkdir moonscript
|
mkdir moonscript
|
||||||
Invoke-WebRequest -Uri $url -OutFile ".\moonscript\moonscript.zip"
|
Invoke-WebRequest -Uri $url -OutFile ".\moonscript\moonscript.zip"
|
||||||
|
@ -80,7 +80,7 @@ jobs:
|
||||||
|
|
||||||
- name: Generate Windows installer
|
- name: Generate Windows installer
|
||||||
if: matrix.config.os == 'windows-latest'
|
if: matrix.config.os == 'windows-latest'
|
||||||
run: ninja win-installer
|
run: meson compile win-installer -C build
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in a new issue