-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,22 @@ jobs: | |
|
||
- name: Build Windows-single-file-app | ||
run: dotnet publish QuIDE/QuIDE.csproj -r win-x64 -f net8.0 -p:PublishSingleFile=true --self-contained false | ||
|
||
- name: Build macOS | ||
- name: Build macOS software | ||
run: dotnet publish QuIDE/QuIDE.csproj -r osx-arm64 | ||
- name: build macOS app | ||
run: dotnet msbuild QuIDE/QuIDE.csproj -t:BundleApp -p:Configuration=Release -p:RuntimeIdentifier=osx-arm64 | ||
|
||
- name: build macOS single-file-app | ||
run: dotnet msbuild QuIDE/QuIDE.csproj -t:BundleApp -p:Configuration=Release -p:RuntimeIdentifier=osx-arm64 -p:UseAppHost=true | ||
|
||
# will later be put in .dmg | ||
- name: Upload macOS App | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: QuIDE.app | ||
path: QuIDE/bin/Release/net8.0/osx-arm64/publish/QuIDE.app | ||
compression-level: 0 | ||
retention-days: 1 | ||
|
||
- name: Upload Linux artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -47,8 +57,27 @@ jobs: | |
name: QuIDE Windows amd64 | ||
path: QuIDE/bin/Release/net8.0/win-x64/publish/QuIDE.exe | ||
|
||
- name: Upload macOS artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: QuIDE macOS arm64 | ||
path: QuIDE/bin/Release/net8.0/osx-arm64/publish/QuIDE.app | ||
build-dmg: | ||
# the dmg-step doesn't work on linux | ||
runs-on: macos-latest | ||
needs: [build] | ||
|
||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: QuIDE.app | ||
path: QuIDE.app | ||
|
||
# here we could sign the app if we had a certificate | ||
|
||
- name: create macOS dmg | ||
uses: L-Super/[email protected] | ||
with: | ||
dmg_name: QuIDE | ||
src_dir: QuIDE.app | ||
|
||
- name: Upload macOS artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: QuIDE macOS arm64 | ||
path: QuIDE.dmg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.vs | ||
.vscode | ||
.DS_Store | ||
bin | ||
obj | ||
packages | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters