Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55752b6eea | ||
|
|
725d214e30 | ||
|
|
9b264c0351 | ||
|
|
274fd2a2fa |
@@ -0,0 +1,80 @@
|
||||
name: Minor Patch Diff Workflow
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check-and-diff:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.12'
|
||||
cache: 'pip'
|
||||
|
||||
- name: Fetch Patch Info and Update Versions
|
||||
id: versions
|
||||
run: python automation/ffxiv_info.py >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Download Latest ffxiv_dx11.exe
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
run: python automation/download_exe.py --output latest/
|
||||
|
||||
- name: Download Previous ffxiv_dx11.exe
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
run: python automation/download_exe.py --version "${{ steps.versions.outputs.thaliak_version_prev }}" --output previous/
|
||||
|
||||
- name: Install Analysis Tools
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
run: |
|
||||
curl -L -o radare2.deb https://github.com/radareorg/radare2/releases/download/6.1.0/radare2_6.1.0_amd64.deb
|
||||
sudo dpkg -i radare2.deb || sudo apt-get install -f -y
|
||||
rm radare2.deb
|
||||
|
||||
- name: Install Python Dependencies
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
run: |
|
||||
pip install -r requirements-vtable.txt
|
||||
|
||||
- name: Run Diff
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
run: |
|
||||
LATEST_EXE=$(find latest -name "ffxiv_dx11.exe" | head -n 1)
|
||||
PREVIOUS_EXE=$(find previous -name "ffxiv_dx11.exe" | head -n 1)
|
||||
|
||||
cp "$LATEST_EXE" "ffxiv_dx11.${{ steps.versions.outputs.retail_new }}.exe"
|
||||
cp "$PREVIOUS_EXE" "ffxiv_dx11.${{ steps.versions.outputs.retail_prev }}.exe"
|
||||
|
||||
# Run the diffing process and capture JSON output
|
||||
python vtable_diff.py "ffxiv_dx11.${{ steps.versions.outputs.retail_prev }}.exe" "ffxiv_dx11.${{ steps.versions.outputs.retail_new }}.exe" > "diffs/${{ steps.versions.outputs.retail_new }}.diff.json"
|
||||
|
||||
- name: Upload Results
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: diff
|
||||
path: |
|
||||
diffs/${{ steps.versions.outputs.retail_new }}.diff.json
|
||||
|
||||
- name: Create Pull Request
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
uses: peter-evans/create-pull-request@v8
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-message: "Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})"
|
||||
title: "Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})"
|
||||
body: |
|
||||
This automatic update contains the following changes:
|
||||
- Updated `ffxiv_versions_global.json`
|
||||
- Generated opcode diff for retail version ${{ steps.versions.outputs.retail_new }}
|
||||
branch: "auto-update"
|
||||
branch-suffix: "short-commit-hash"
|
||||
base: "main"
|
||||
delete-branch: true
|
||||
@@ -174,5 +174,9 @@
|
||||
{
|
||||
"retail_version": "7.56",
|
||||
"version_string": "2026.09.01.0000.0000"
|
||||
},
|
||||
{
|
||||
"retail_version": "7.56h",
|
||||
"version_string": "2026.09.15.0000.0000"
|
||||
}
|
||||
]
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user