From 3b06b35fb21089b44b71f42c3d14205a823a005f Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 3 Apr 2023 11:19:32 +0300 Subject: [PATCH] Only upload on release --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da2b8afc..a8145992 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,7 +69,7 @@ jobs: - name: Upload Windows-x64 uses: actions/upload-artifact@v3 - if: matrix.runs-on == 'windows-latest' + if: matrix.configuration == 'Release' && matrix.runs-on == 'windows-latest' with: name: DepotDownloader-windows-x64 path: selfcontained @@ -77,7 +77,7 @@ jobs: - name: Upload Linux-x64 uses: actions/upload-artifact@v3 - if: matrix.runs-on == 'ubuntu-latest' + if: matrix.configuration == 'Release' && matrix.runs-on == 'ubuntu-latest' with: name: DepotDownloader-linux-x64 path: selfcontained @@ -85,7 +85,7 @@ jobs: - name: Upload Linux-arm uses: actions/upload-artifact@v3 - if: matrix.runs-on == 'ubuntu-latest' + if: matrix.configuration == 'Release' && matrix.runs-on == 'ubuntu-latest' with: name: DepotDownloader-linux-arm path: selfcontained @@ -93,7 +93,7 @@ jobs: - name: Upload Linux-arm64 uses: actions/upload-artifact@v3 - if: matrix.runs-on == 'ubuntu-latest' + if: matrix.configuration == 'Release' && matrix.runs-on == 'ubuntu-latest' with: name: DepotDownloader-linux-arm64 path: selfcontained @@ -101,7 +101,7 @@ jobs: - name: Upload macOS-x64 uses: actions/upload-artifact@v3 - if: matrix.runs-on == 'macos-latest' + if: matrix.configuration == 'Release' && matrix.runs-on == 'macos-latest' with: name: DepotDownloader-macos-x64 path: selfcontained @@ -109,7 +109,7 @@ jobs: - name: Upload macOS-arm64 uses: actions/upload-artifact@v3 - if: matrix.runs-on == 'macos-latest' + if: matrix.configuration == 'Release' && matrix.runs-on == 'macos-latest' with: name: DepotDownloader-macos-arm64 path: selfcontained