diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79c9d892..67009358 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,10 +10,16 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: - - ubuntu-latest - #- windows-latest - #- macOS-latest + include: + - os: ubuntu-latest + runtime: linux-x64 + artifact: linux + # - os: windows-latest + # runtime: win-x64 + # artifact: windows + - os: macOS-latest + runtime: osx-x64 + artifact: macos steps: - uses: actions/checkout@v1 - name: Checkout submodules @@ -23,8 +29,8 @@ jobs: with: dotnet-version: 5.0.x - name: Build the app - run: dotnet publish -c Release -o dist + run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo - uses: actions/upload-artifact@v2 with: - name: artifact-${{matrix.os}} + name: kyoo_${{matrix.artifact}}.zip path: dist/*