File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,12 +95,37 @@ jobs:
9595 --self-contained true
9696
9797 - name : Publish CLI Project
98+ if : (matrix.rid-os != 'linux') || (matrix.rid-os == 'linux' && matrix.arch == 'x64')
99+ shell : bash
100+ run : |
101+ dotnet publish ./src/RSML.CLI/RSML.CLI.csproj \
102+ -c Release \
103+ -r ${{ matrix.rid-os }}-${{ matrix.arch }} \
104+ -o ./dist/RSML.CLI-${{ matrix.rid-os }}-${{ matrix.arch }} \
105+ --self-contained true
106+
107+ - name : Publish CLI Project (Linux ARM)
108+ if : matrix.rid-os == 'linux' && matrix.arch == 'arm'
98109 shell : bash
99110 run : |
100111 dotnet publish ./src/RSML.CLI/RSML.CLI.csproj \
101112 -c Release \
102113 -r ${{ matrix.rid-os }}-${{ matrix.arch }} \
103114 -o ./dist/RSML.CLI-${{ matrix.rid-os }}-${{ matrix.arch }} \
115+ -p:ObjCopyName=arm-linux-gnueabihf-objcopy \
116+ -p:LinkerFlavor=lld \
117+ --self-contained true
118+
119+ - name : Publish CLI Project (Linux ARM64)
120+ if : matrix.rid-os == 'linux' && matrix.arch == 'arm64'
121+ shell : bash
122+ run : |
123+ dotnet publish ./src/RSML.CLI/RSML.CLI.csproj \
124+ -c Release \
125+ -r ${{ matrix.rid-os }}-${{ matrix.arch }} \
126+ -o ./dist/RSML.CLI-${{ matrix.rid-os }}-${{ matrix.arch }} \
127+ -p:ObjCopyName=aarch64-linux-gnu-objcopy \
128+ -p:LinkerFlavor=lld \
104129 --self-contained true
105130
106131 - name : Upload Artifacts
You can’t perform that action at this time.
0 commit comments