diff --git a/.github/workflows/build-installer.yml b/.github/workflows/build-installer.yml index 867e3b7..6d7e836 100644 --- a/.github/workflows/build-installer.yml +++ b/.github/workflows/build-installer.yml @@ -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