-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trimmed Binary & Output Properties (#8)
* Modified JsonResolver to use a mixture of techniques to include or exclude certain properties * Found that `PublishTrimmed` breaks the program as the JSON serializer uses reflection * Cleaned up some code * Added `--output` argument with error handling * Compressing each executable individually
- Loading branch information
1 parent
42419d2
commit 0ecfee0
Showing
5 changed files
with
101 additions
and
51 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 |
---|---|---|
|
@@ -58,6 +58,14 @@ jobs: | |
chmod +x dotnetastgen-linux-arm | ||
chmod +x dotnetastgen-macos | ||
chmod +x dotnetastgen-macos-arm | ||
- name: Compress all executables | ||
run: | | ||
zip dotnetastgen-linux.zip dotnetastgen-linux | ||
zip dotnetastgen-linux-arm.zip dotnetastgen-linux-arm | ||
zip dotnetastgen-macos.zip dotnetastgen-macos | ||
zip dotnetastgen-macos-arm.zip dotnetastgen-macos-arm | ||
zip dotnetastgen-win.zip dotnetastgen-win.exe | ||
zip dotnetastgen-win-arm.zip dotnetastgen-win-arm.exe | ||
- name: Set next release version | ||
id: taggerFinal | ||
uses: anothrNick/[email protected] | ||
|
@@ -69,9 +77,9 @@ jobs: | |
with: | ||
tag_name: ${{ steps.taggerDryRun.outputs.new_tag }} | ||
files: | | ||
dotnetastgen-linux | ||
dotnetastgen-linux-arm | ||
dotnetastgen-macos | ||
dotnetastgen-macos-arm | ||
dotnetastgen-win.exe | ||
dotnetastgen-win-arm.exe | ||
dotnetastgen-linux.zip | ||
dotnetastgen-linux-arm.zip | ||
dotnetastgen-macos.zip | ||
dotnetastgen-macos-arm.zip | ||
dotnetastgen-win.exe.zip | ||
dotnetastgen-win-arm.exe.zip |
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
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