diff --git a/.github/workflows/post-integration.yml b/.github/workflows/post-integration.yml index d660d9e..8ce0eb0 100644 --- a/.github/workflows/post-integration.yml +++ b/.github/workflows/post-integration.yml @@ -14,7 +14,7 @@ env: jobs: merge-to-stable: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - name: ๐Ÿ›’ Checkout repository uses: actions/checkout@v4 @@ -48,7 +48,7 @@ jobs: run: dotnet restore - name: ๐Ÿ› ๏ธ Build - run: dotnet build -c Release --no-restore /p:UseSourceLink=true + run: dotnet build Atc.Azure.IoT.sln -c Release --no-restore /p:UseSourceLink=true - name: ๐Ÿงช Run unit tests run: dotnet test -c Release --no-build --filter "Category!=Integration" diff --git a/.github/workflows/pre-integration.yml b/.github/workflows/pre-integration.yml index 2536549..d48fd54 100644 --- a/.github/workflows/pre-integration.yml +++ b/.github/workflows/pre-integration.yml @@ -30,8 +30,13 @@ jobs: - name: ๐Ÿ” Restore packages run: dotnet restore - - name: ๐Ÿ› ๏ธ Building library in release mode - run: dotnet build -c Release --no-restore + - name: ๐Ÿ› ๏ธ Build non-wpf solution + run: dotnet build Atc.Azure.IoT-WithoutWpf.sln -c Release --no-restore + if: runner.os != 'Windows' + + - name: ๐Ÿ› ๏ธ Build all + run: dotnet build Atc.Azure.IoT.sln -c Release --no-restore + if: runner.os == 'Windows' dotnet-test: runs-on: ubuntu-latest @@ -51,8 +56,13 @@ jobs: - name: ๐Ÿ” Restore packages run: dotnet restore - - name: ๐Ÿ› ๏ธ Build - run: dotnet build -c Release --no-restore /p:UseSourceLink=true + - name: ๐Ÿ› ๏ธ Build non-wpf solution + run: dotnet build Atc.Azure.IoT-WithoutWpf.sln -c Release --no-restore /p:UseSourceLink=true + if: runner.os != 'Windows' + + - name: ๐Ÿ› ๏ธ Build all + run: dotnet build Atc.Azure.IoT.sln -c Release --no-restore /p:UseSourceLink=true + if: runner.os == 'Windows' - name: ๐Ÿงช Run unit tests run: dotnet test -c Release --no-build --filter "Category!=Integration" \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd1ae41..9199311 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ env: jobs: release: if: github.ref == 'refs/heads/stable' - runs-on: ubuntu-latest + runs-on: windows-latest steps: - name: ๐Ÿ›’ Checkout repository uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: run: dotnet restore - name: ๐Ÿ› ๏ธ Building library in release mode - run: dotnet build -c Release --no-restore /p:UseSourceLink=true + run: dotnet build Atc.Azure.IoT.sln -c Release --no-restore /p:UseSourceLink=true - name: โฉ Merge to release-branch run: |