From 3e60c3852f40c9e61682cc5d7e080a11d09ec615 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Sat, 15 Oct 2022 01:46:40 +0400 Subject: Build test on Ubuntu only --- .github/workflows/build-test.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4a89586..ae4f6bd 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -11,7 +11,7 @@ jobs: build: strategy: matrix: - host: [windows-latest, ubuntu-latest, macos-latest] + host: [ubuntu-latest] os: [win, linux, osx] arch: [x86, x64, arm, arm64] sc: [no-self-contained, self-contained] @@ -43,10 +43,6 @@ jobs: SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true -p:PublishTrimmed=True' || '--no-self-contained' }} run: dotnet publish ${{ env.PROJECT_PATH }} -c ${{ env.CONFIGURATION }} -r ${{ matrix.os }}-${{ matrix.arch }} -p:PublishSingleFile=true ${{ env.SC_OPS }} -o ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT_SUBDIR }}/${{ env.APP_NAME }} -p:IncludeAllContentForSelfExtract=true - name: Upload artifact - if: | - (matrix.host == 'ubuntu-latest' && matrix.os == 'linux') - || (matrix.host == 'macos-latest' && matrix.os == 'osx') - || (matrix.host == 'windows-latest' && matrix.os == 'win') uses: actions/upload-artifact@v2 with: name: ${{ env.OUTPUT_SUBDIR }} -- cgit v1.2.3