CI: Add support for validation on non-dortania repos

This commit is contained in:
Mykola Grymalyuk
2023-05-18 14:58:56 -06:00
parent f5d9ecfc25
commit 04441590f0
2 changed files with 24 additions and 0 deletions

23
.github/workflows/validate-external.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: CI - Validation (External)
on:
push:
workflow_dispatch:
release:
types: [published]
jobs:
build:
name: Validate
runs-on: macos-latest
if: github.repository_owner != 'dortania'
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Dependencies
run: python3 -m pip install -r requirements.txt
- name: Validate
run: python3 OpenCore-Patcher-GUI.command --validate

View File

@@ -10,6 +10,7 @@ jobs:
build:
name: Validate
runs-on: x86_64_monterey
if: github.repository_owner == 'dortania'
steps:
- uses: actions/checkout@v3
- name: Validate