Skip to content

Commit cd15575

Browse files
committed
fix: remove unsupported linux-x86 and fix restore/build for cross-platform RIDs
1 parent 9343a2d commit cd15575

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ jobs:
2323
- os: ubuntu-latest
2424
runtime: linux-x64
2525
artifact_name: LuxFirmwareApp-linux-x64
26-
- os: ubuntu-latest
27-
runtime: linux-x86
28-
artifact_name: LuxFirmwareApp-linux-x86
2926
- os: windows-latest
3027
runtime: win-x64
3128
artifact_name: LuxFirmwareApp-windows-x64
@@ -46,10 +43,10 @@ jobs:
4643
dotnet-version: '8.0.x'
4744

4845
- name: Restore dependencies
49-
run: dotnet restore
46+
run: dotnet restore -r ${{ matrix.runtime }}
5047

5148
- name: Build
52-
run: dotnet build --configuration Release --no-restore
49+
run: dotnet build --configuration Release --no-restore -r ${{ matrix.runtime }}
5350

5451
- name: Publish
5552
run: dotnet publish --configuration Release --no-build --self-contained true --runtime ${{ matrix.runtime }} -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o ./publish/${{ matrix.artifact_name }}
@@ -118,7 +115,6 @@ jobs:
118115
119116
**Linux:**
120117
- [Linux x64](https://github.com/${{ github.repository }}/releases/download/${{ steps.tag.outputs.tag }}/LuxFirmwareApp-linux-x64.zip)
121-
- [Linux x86 (32-bit)](https://github.com/${{ github.repository }}/releases/download/${{ steps.tag.outputs.tag }}/LuxFirmwareApp-linux-x86.zip)
122118
123119
**macOS:**
124120
- [macOS x64](https://github.com/${{ github.repository }}/releases/download/${{ steps.tag.outputs.tag }}/LuxFirmwareApp-macos-x64.zip)

0 commit comments

Comments
 (0)