run gh workflows on PR and push differently

This commit is contained in:
Lion Kortlepel 2024-02-15 13:05:13 +01:00
parent d1fb15fc9a
commit ac8c386c61
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B
2 changed files with 6 additions and 2 deletions

View File

@ -2,8 +2,10 @@ name: Linux
on: on:
push: push:
branches:
- 'develop'
- 'minor'
pull_request: pull_request:
types: [ready_for_review, opened, reopened]
env: env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

View File

@ -2,8 +2,10 @@ name: Windows
on: on:
push: push:
branches:
- 'develop'
- 'minor'
pull_request: pull_request:
types: [ready_for_review, opened, reopened]
env: env:
VCPKG_DEFAULT_TRIPLET: x64-windows-static VCPKG_DEFAULT_TRIPLET: x64-windows-static