mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
CI: Add support for validation on non-dortania repos
This commit is contained in:
23
.github/workflows/validate-external.yml
vendored
Normal file
23
.github/workflows/validate-external.yml
vendored
Normal 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
|
||||
1
.github/workflows/validate.yml
vendored
1
.github/workflows/validate.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user