Fix Build Workflow (#1070)

Build workflow uses a non-existent action to check changed files.
Switched it out for a simple call to `git`.

We'll need to:

1. Merge this to `main` so version PRs are updated correctly
2. Merge `main` to `dev` so feature PRs are updated
3. Every other branch should try to merge this in from `dev`
This commit is contained in:
xen-42 2025-03-15 15:05:28 -04:00 committed by GitHub
commit c9693f0845
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,8 +62,7 @@ jobs:
name: NewHorizons-Schemas-${{ inputs.build_type }}
path: .\NewHorizons\Schemas
- name: Verify Changed Schemas
uses: tj-actions/verify-changed-files@v20
- name: Check Changed Schemas
id: changed_files
with:
files: NewHorizons/Schemas/**
run: |
echo "files_changed=$(git diff --exit-code NewHorizons/Schemas 2>&1>$null && echo false || echo true)" >> $Env:GITHUB_OUTPUT