diff --git a/.github/workflows/build-dotnet.yml b/.github/workflows/build-dotnet.yml index 887be01..3c07d1b 100644 --- a/.github/workflows/build-dotnet.yml +++ b/.github/workflows/build-dotnet.yml @@ -12,7 +12,11 @@ on: jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: [windows-latest, ubuntu-latest, macOS-latest] + + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -20,11 +24,14 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x + - name: Restore dependencies run: dotnet restore TileBakeTool/TileBakeTool.csproj + - name: Build Release run: | dotnet build TileBakeTool/TileBakeTool.csproj --no-restore --verbosity normal --self-contained --configuration Release --output ./publish + - name: Publish Build Artifacts uses: actions/upload-artifact@v2 with: