From fe37f51494ffa9d556374b753b92bcf25e176b5f Mon Sep 17 00:00:00 2001 From: rimuspp Date: Sat, 9 Mar 2024 14:08:02 -0500 Subject: [PATCH] Not running on pull requests We could, but that's wasteful --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 897bd44..9e970fe 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -59,25 +59,25 @@ jobs: wait - name: Upload artifacts Target Windows - if: ${{ matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.os == 'ubuntu-latest' && !contains(fromJSON('["pull_request"]'), github.event_name) }} uses: actions/upload-artifact@v2 with: name: build-windows path: artifacts/x86_64-windows - name: Upload artifacts Target Linux - if: ${{ matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.os == 'ubuntu-latest' && !contains(fromJSON('["pull_request"]'), github.event_name) }} uses: actions/upload-artifact@v2 with: name: build-linux path: artifacts/x86_64-linux - name: Upload artifacts Target MacOS - if: ${{ matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.os == 'ubuntu-latest' && !contains(fromJSON('["pull_request"]'), github.event_name) }} uses: actions/upload-artifact@v2 with: name: builds-macos-x86 path: artifacts/x86_64-macos - name: Upload artifacts Target MacOS 2 - if: ${{ matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.os == 'ubuntu-latest' && !contains(fromJSON('["pull_request"]'), github.event_name) }} uses: actions/upload-artifact@v2 with: name: build-macos-aarch64