diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-15 00:46:40 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-15 00:46:40 +0300 |
commit | 3e60c3852f40c9e61682cc5d7e080a11d09ec615 (patch) | |
tree | 0468d99132241f15f101bff8664603b10629d1ea /.github | |
parent | b9e78d5425281873440fc6414bc6617c19d7f1ee (diff) |
Build test on Ubuntu only
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-test.yml | 6 |
1 files changed, 1 insertions, 5 deletions
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 }}
|