Skip to content

Commit 9f3a609

Browse files
feat: upgrade output publish path
1 parent a3e78cd commit 9f3a609

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: dotnet workload install maui-maccatalyst
3434

3535
- name: Build project for ${{ matrix.architecture }}
36-
run: dotnet publish -f net9.0-maccatalyst -c Release -o output/${{ matrix.architecture }} -p:CreatePackage=false
36+
run: dotnet publish -f net9.0-maccatalyst -c Release -p:CreatePackage=false
3737

3838
- name: Get Release Upload URL
3939
id: get_release
@@ -51,7 +51,7 @@ jobs:
5151
uses: actions/upload-release-asset@v1
5252
with:
5353
upload_url: ${{ steps.get_release.outputs.upload_url }}
54-
asset_path: output/${{ matrix.architecture }}/Imago.app
54+
asset_path: bin/Release/net9.0-maccatalyst/imago.app
5555
asset_name: Imago-${{ matrix.architecture }}.app
5656
asset_content_type: application/octet-stream
5757
env:

imago.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
1313
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
1414
<IsAotCompatible>true</IsAotCompatible>
15-
<RuntimeIdentifiers>maccatalyst-arm64</RuntimeIdentifiers>
15+
<RuntimeIdentifiers>maccatalyst-arm64;maccatalyst-x64</RuntimeIdentifiers>
1616
<PublishAot>true</PublishAot>
1717

1818
<OutputType>Exe</OutputType>

0 commit comments

Comments
 (0)