Skip to content

Commit

Permalink
update release script so its x86
Browse files Browse the repository at this point in the history
  • Loading branch information
OliBomby committed Jun 3, 2021
1 parent 36c50fe commit 3f39a21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,15 @@ jobs:
run: dotnet restore Mapping_Tools

- name: Build
run: dotnet build Mapping_Tools -c Release --no-restore

- name: Test
run: dotnet test Mapping_Tools --no-build --verbosity normal
run: dotnet build Mapping_Tools -c Release /p:Platform=x86 --no-restore

- name: Build Installer
run: iscc Installer_Script.iss

- name: Create release.zip
uses: papeloto/action-zip@v1
with:
files: Mapping_Tools/bin/Release/net5.0-windows/
files: Mapping_Tools/bin/x86/Release/net5.0-windows/
dest: release.zip

- uses: "marvinpinto/action-automatic-releases@latest"
Expand Down
2 changes: 1 addition & 1 deletion Installer_Script.iss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define MyAppPublisher "OliBomby"
#define MyAppURL "https://mappingtools.github.io/"
#define MyAppExeName "Mapping Tools.exe"
#define BuildFolderPath "Mapping_Tools\bin\Release\net5.0-windows"
#define BuildFolderPath "Mapping_Tools\bin\x86\Release\net5.0-windows"

[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
Expand Down

0 comments on commit 3f39a21

Please sign in to comment.