Skip to content

Commit

Permalink
add linux to ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
bluepilledgreat authored Apr 7, 2023
1 parent 7a05d89 commit 8609a68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
configuration: [Debug, Release]
platform: [x64]
platform: [win-x64, linux-x64]
runs-on: ubuntu-latest

steps:
Expand All @@ -26,10 +26,10 @@ jobs:
- name: Build
run: dotnet build --no-restore
- name: Publish
run: dotnet publish -p:PublishSingleFile=true -r win-${{ matrix.platform }} -c ${{ matrix.configuration }} --self-contained false ./RDHT-Backend.csproj
run: dotnet publish -p:PublishSingleFile=true -r ${{ matrix.platform }} -c ${{ matrix.configuration }} --self-contained false ./RDHT-Backend.csproj
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: RDHT-Backend (${{ matrix.configuration }}, ${{ matrix.platform }})
path: |
./bin/${{ matrix.configuration }}/net6.0/win-${{ matrix.platform }}/publish/*
./bin/${{ matrix.configuration }}/net6.0/${{ matrix.platform }}/publish/*

0 comments on commit 8609a68

Please sign in to comment.