Not running on pull requests

We could, but that's wasteful
This commit is contained in:
rimuspp 2024-03-09 14:08:02 -05:00 committed by GitHub
parent 804bfb54ed
commit fe37f51494
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,25 +59,25 @@ jobs:
wait wait
- name: Upload artifacts Target Windows - 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 uses: actions/upload-artifact@v2
with: with:
name: build-windows name: build-windows
path: artifacts/x86_64-windows path: artifacts/x86_64-windows
- name: Upload artifacts Target Linux - 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 uses: actions/upload-artifact@v2
with: with:
name: build-linux name: build-linux
path: artifacts/x86_64-linux path: artifacts/x86_64-linux
- name: Upload artifacts Target MacOS - 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 uses: actions/upload-artifact@v2
with: with:
name: builds-macos-x86 name: builds-macos-x86
path: artifacts/x86_64-macos path: artifacts/x86_64-macos
- name: Upload artifacts Target MacOS 2 - 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 uses: actions/upload-artifact@v2
with: with:
name: build-macos-aarch64 name: build-macos-aarch64