Skip to content

Commit 0f754f8

Browse files
committed
Upload artifact
1 parent 6d2eeaf commit 0f754f8

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,15 @@ jobs:
4747
- name: publish MobiFlightInstaller
4848
run: dotnet publish -c ${{env.BUILD_CONFIGURATION}} -p:Version="${{ env.VERSION }}" src/MobiFlight-Installer/MobiFlightInstaller.csproj -o dist/MobiFlightInstaller-${{ env.VERSION }} --no-build
4949

50-
# - name: store latest setup file
51-
# uses: actions/upload-artifact@v7
52-
# with:
53-
# name: MobiFlightConnector
54-
# path: |
55-
# dist/MobiFlightConnector-${{ env.VERSION }}.zip
50+
51+
- name: copy installer to dist
52+
run: |
53+
copy dist/MobiFlightInstaller-${{ env.VERSION }}/MobiFlightInstaller.exe dist/
54+
copy dist/MobiFlightInstaller-${{ env.VERSION }}/MobiFlightInstaller.exe dist/MobiFlightConnector-${{ env.VERSION }}/
55+
56+
- name: store latest setup file
57+
uses: actions/upload-artifact@v7
58+
with:
59+
name: MobiFlightConnector
60+
path: |
61+
dist/MobiFlightConnector-${{ env.VERSION }}/

src/MobiFlight-Installer/MobiFlightInstaller.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313
<AssemblyName>MobiFlight-Installer</AssemblyName>
1414
<OutputType>WinExe</OutputType>
1515
<PublishSingleFile>true</PublishSingleFile>
16+
<PlatformTarget>x64</PlatformTarget>
17+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1618
</PropertyGroup>
1719

1820
<ItemGroup>
1921
<Content Include="mobiflight.ico" />
2022
</ItemGroup>
2123

22-
</Project>
24+
</Project>

0 commit comments

Comments
 (0)