Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazrius committed Mar 10, 2024
1 parent 93d9a8f commit ab3763b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,14 @@ jobs:

- name: "Build Installer"
run: |
cd ${{ github.workspace }}
mkdir Release\EXE
Get-ChildItem -Path "Release" -Filter ".dll" -Recurse | Move-Item -Destination "Release\EXE" -Whatif
7z a -r ${{github.workspace}}\chaosmod.7z ./Release/* ./Assets/*
Move-Item chaosmod.7z -Destination ./Installer/Assets/Mod
& "${env:programfiles(x86)}\Inno Setup 6\iscc.exe" "${{ github.workspace }}\Installer\setup.iss"
7z a -r ${{ github.workspace}}\Setup.7z
Rename-Item -Path ${{github.workspace}}\chaosmod.7z -NewName Assets.7z
Get-ChildItem -Path ".\Release" -Filter ".dll" -Recurse | Move-Item -Destination ".\Release\EXE" -Whatif
7z a -r ./chaosmod.7z ./Release/* ./Assets/*
Copy-Item -Path .\chaosmod.7z -Destination ./Installer/Assets/Mod
& "${env:programfiles(x86)}\Inno Setup 6\iscc.exe" ".\Installer\setup.iss"
7z a -r .\Setup.7z .\Installer/Output*
Rename-Item -Path .\chaosmod.7z -NewName Assets.7z
- name: Create Release
id: create_release
Expand Down

0 comments on commit ab3763b

Please sign in to comment.