Update README.md #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Unzip unciv file | |
run: | | |
tar -xf files\Unciv-Windows64.zip -C files | |
del files\Unciv-Windows64.zip | |
dir files | |
- name: Install WiX | |
run: dotnet tool install --global wix | |
- name: Build WiX on Windows | |
shell: bash | |
run: | | |
UNCIV_VERSION=4.12.14 wix build unciv.wxs | |
- name: Add generated binaries to artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Unciv-MSI | |
path: | | |
Unciv.msi | |
if-no-files-found: error | |