Update build workflow to publish Clario.Desktop
fixed path
This commit is contained in:
24
.github/workflows/build-linux.yml
vendored
24
.github/workflows/build-linux.yml
vendored
@@ -18,25 +18,19 @@ jobs:
|
|||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore Clario/Clario.csproj
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: dotnet build Clario/Clario.csproj --configuration Release --no-restore
|
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: dotnet publish Clario/Clario.csproj \
|
run: |
|
||||||
--configuration Release \
|
dotnet publish Clario.Desktop/Clario.Desktop.csproj \
|
||||||
--runtime linux-x64 \
|
-r linux-x64 \
|
||||||
--self-contained true \
|
-c Release \
|
||||||
--output ./publish/linux \
|
--self-contained true \
|
||||||
-p:PublishSingleFile=true \
|
-p:PublishSingleFile=true \
|
||||||
-p:IncludeNativeLibrariesForSelfExtract=true
|
-o ./publish/linux-x64
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Clario-linux-x64
|
name: Clario-linux-x64
|
||||||
path: ./publish/linux
|
path: ./publish/linux
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
|
|||||||
Reference in New Issue
Block a user