adapted other Buildplatforms
Some checks failed
Some checks failed
This commit is contained in:
@@ -14,13 +14,13 @@ jobs:
|
|||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '10.0.x'
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore ./CouchLog/CouchLog.sln
|
||||||
|
|
||||||
- name: Build Linux x64
|
- name: Build Linux x64
|
||||||
run: dotnet publish -c Release -r linux-x64 --self-contained false -o ./artifacts/linux-x64
|
run: dotnet publish ./CouchLog/CouchLog.sln -c Release -r linux-x64 --self-contained false -o ./artifacts/linux-x64
|
||||||
|
|
||||||
- name: Upload Linux x64 artifact
|
- name: Upload Linux x64 artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
@@ -19,4 +19,4 @@ jobs:
|
|||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
-t myapp:linux-x64 \
|
-t myapp:linux-x64 \
|
||||||
--load .
|
--load ./CouchLog/CouchLog.sln
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ jobs:
|
|||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore ./CouchLog/CouchLog.sln
|
||||||
|
|
||||||
- name: Build Windows x64
|
- name: Build Windows x64
|
||||||
run: dotnet publish -c Release -r win-x64 --self-contained true -o ./artifacts/windows-x64
|
run: dotnet publish ./CouchLog/CouchLog.sln -c Release -r win-x64 --self-contained true -o ./artifacts/windows-x64
|
||||||
|
|
||||||
- name: Upload Windows artifact
|
- name: Upload Windows artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user