File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 79
79
80
80
- name : Publish self-contained osx-x64
81
81
run : dotnet publish ./Meshtastic.Cli/Meshtastic.Cli.csproj -c Release -r osx-x64 -o osx-x64 --self-contained true -p:IncludeAllContentForSelfExtract=True -p:PublishSingleFile=True -p:AssemblyVersion=${{ steps.version.outputs.version }} -p:Version=${{ steps.version.outputs.version }}
82
+
83
+ - name : Publish self-contained osx-arm64
84
+ run : dotnet publish ./Meshtastic.Cli/Meshtastic.Cli.csproj -c Release -r osx-arm64 -o osx-arm64 --self-contained true -p:IncludeAllContentForSelfExtract=True -p:PublishSingleFile=True -p:AssemblyVersion=${{ steps.version.outputs.version }} -p:Version=${{ steps.version.outputs.version }}
82
85
83
86
- name : Publish self-contained linux-x64
84
87
run : dotnet publish ./Meshtastic.Cli/Meshtastic.Cli.csproj -c Release -r linux-x64 -o linux-x64 --self-contained true -p:IncludeAllContentForSelfExtract=True -p:PublishSingleFile=True -p:AssemblyVersion=${{ steps.version.outputs.version }} -p:Version=${{ steps.version.outputs.version }}
90
93
run : |
91
94
zip -r win-x64 win-x64
92
95
zip -r osx-x64 osx-x64
96
+ zip -r osx-arm64 osx-arm64
93
97
zip -r linux-x64 linux-x64
94
98
zip -r linux-arm64 linux-arm64
95
99
@@ -119,6 +123,16 @@ jobs:
119
123
asset_path : ./win-x64.zip
120
124
asset_name : Meshtastic.Cli-win-x64-${{ steps.version.outputs.version }}.zip
121
125
asset_content_type : application/zip
126
+
127
+ - name : Add osx-arm64 bins to release
128
+ uses : actions/upload-release-asset@v1
129
+ env :
130
+ GITHUB_TOKEN : ${{ github.token }}
131
+ with :
132
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
133
+ asset_path : ./osx-arm64.zip
134
+ asset_name : Meshtastic.Cli-osx-arm64-${{ steps.version.outputs.version }}.zip
135
+ asset_content_type : application/zip
122
136
123
137
- name : Add osx-x64 bins to release
124
138
uses : actions/upload-release-asset@v1
You can’t perform that action at this time.
0 commit comments