Skip to content

Commit

Permalink
add linux and win platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
danilwhale authored Mar 21, 2024
1 parent ed0efd1 commit a05fb09
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,17 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Publish
run: dotnet publish SharpCraft/SharpCraft.csproj -c Release -o Build --nologo
- name: Upload Build Artifact
- name: Publish Linux (x64)
run: dotnet publish SharpCraft/SharpCraft.csproj -c Release -o Build/Linux/ --nologo -r linux-x64 --self-contained
- name: Upload Linux (x64) Build Artifact
uses: actions/upload-artifact@v4.3.1
with:
name: BuildArtifact
path: /home/runner/work/SharpCraft/SharpCraft/Build/
name: SharpCraft-linux-x64
path: /home/runner/work/SharpCraft/SharpCraft/Build/Linux/
- name: Publish Windows (x64)
run: dotnet publish SharpCraft/SharpCraft.csproj -c Release -o Build/Windows/ --nologo -r win-x64 --self-contained
- name: Upload Windows (x64) Build Artifact
uses: actions/upload-artifact@v4.3.1
with:
name: SharpCraft-win-x64
path: /home/runner/work/SharpCraft/SharpCraft/Build/Windows/

0 comments on commit a05fb09

Please sign in to comment.