mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 18:46:43 +00:00
Update dotnet.yml
This commit is contained in:
parent
8a8c5e661a
commit
250505a340
1 changed files with 15 additions and 5 deletions
20
.github/workflows/dotnet.yml
vendored
20
.github/workflows/dotnet.yml
vendored
|
@ -26,11 +26,21 @@ jobs:
|
||||||
run: dotnet build --no-restore
|
run: dotnet build --no-restore
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test --no-build --verbosity normal
|
run: dotnet test --no-build --verbosity normal
|
||||||
- name: Publish
|
|
||||||
run: dotnet publish Capy64/Capy64.csproj -c Release --no-self-contained -a x64 -o publish -p:PublishSingleFile=true
|
- name: Publish for Linux x64
|
||||||
- name: Upload a Build Artifact
|
run: dotnet publish Capy64/Capy64.csproj -c Release --no-self-contained -a x64 --os linux -p:PublishSingleFile=true -o publish/linux-x64
|
||||||
|
- name: Publish for Windows x64
|
||||||
|
run: dotnet publish Capy64/Capy64.csproj -c Release --no-self-contained -a x64 --os win -p:PublishSingleFile=true -o publish/win-x64
|
||||||
|
|
||||||
|
- name: Upload Linux x64 artifact
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
name: Publish
|
name: Linux-x64
|
||||||
path: publish/**
|
path: publish/linux-x64/**
|
||||||
|
if-no-files-found: error
|
||||||
|
- name: Upload Windows x64 artifact
|
||||||
|
uses: actions/upload-artifact@v3.1.2
|
||||||
|
with:
|
||||||
|
name: Windows-x64
|
||||||
|
path: publish/win-x64/**
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
Loading…
Reference in a new issue