Skip to content

Commit 4d8e0ca

Browse files
committed
feat(action): Add arm64 builds and bump package version
Add win-arm64 and linux-arm64 entries to the AOT publish matrix and switch dotnet publish to produce self-contained artifacts (removed PublishAot/OptimizationPreference flags). Also bump FirmwareKit.Comm.Fastboot package Version to 1.0.2.
1 parent 66eb698 commit 4d8e0ca

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/publish-aot.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ jobs:
2121
- os: windows-latest
2222
rid: win-x86
2323
ext: .exe
24+
- os: windows-latest
25+
rid: win-arm64
26+
ext: .exe
2427
- os: ubuntu-latest
2528
rid: linux-x64
2629
ext: ""
30+
- os: ubuntu-latest
31+
rid: linux-arm64
32+
ext: ""
2733
- os: macos-latest
2834
rid: osx-x64
2935
ext: ""
@@ -41,7 +47,7 @@ jobs:
4147

4248
- name: Publish AOT
4349
run: |
44-
dotnet publish FastbootCLI/FastbootCLI.csproj -c Release -r ${{ matrix.rid }} -p:PublishAot=true -p:OptimizationPreference=Size -o ./publish/${{ matrix.rid }}
50+
dotnet publish FastbootCLI/FastbootCLI.csproj -c Release -r ${{ matrix.rid }} -o ./publish/${{ matrix.rid }} --self-contained
4551
4652
- name: Zip Artifacts
4753
shell: pwsh

FirmwareKit.Comm.Fastboot/FirmwareKit.Comm.Fastboot.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2020
<PackageReadmeFile>README.md</PackageReadmeFile>
2121
<PackageTags>fastboot;android;firmware;flashing;usb;tcp;udp;adb</PackageTags>
22-
<Version>1.0.1</Version>
22+
<Version>1.0.2</Version>
2323
<PackageId>FirmwareKit.Comm.Fastboot</PackageId>
2424
<Product>FastbootCli</Product>
2525
</PropertyGroup>

0 commit comments

Comments
 (0)