Skip to content

Commit 0538efb

Browse files
authored
Add osx-arm64
1 parent 1fec164 commit 0538efb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979

8080
- name: Publish self-contained osx-x64
8181
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 }}
8285

8386
- name: Publish self-contained linux-x64
8487
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,6 +93,7 @@ jobs:
9093
run: |
9194
zip -r win-x64 win-x64
9295
zip -r osx-x64 osx-x64
96+
zip -r osx-arm64 osx-arm64
9397
zip -r linux-x64 linux-x64
9498
zip -r linux-arm64 linux-arm64
9599
@@ -119,6 +123,16 @@ jobs:
119123
asset_path: ./win-x64.zip
120124
asset_name: Meshtastic.Cli-win-x64-${{ steps.version.outputs.version }}.zip
121125
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
122136

123137
- name: Add osx-x64 bins to release
124138
uses: actions/upload-release-asset@v1

0 commit comments

Comments
 (0)