Switch to custom downloader
This commit is contained in:
@@ -26,34 +26,27 @@ jobs:
|
||||
run: python automation/ffxiv_info.py >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Download Latest ffxiv_dx11.exe
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
uses: WorkingRobot/ffxiv-downloader@v8
|
||||
with:
|
||||
output-path: latest
|
||||
regex: '^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'
|
||||
uses: WorkingRobot/ffxiv-downloader@v8
|
||||
with:
|
||||
version: ${{ steps.versions.outputs.thaliak_version_prev }}
|
||||
output-path: previous
|
||||
regex: '^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'
|
||||
# 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'
|
||||
# if: steps.versions.outputs.is_new == 'true'
|
||||
run: |
|
||||
pip install -r requirements-vtable.txt
|
||||
|
||||
- name: Run Diff
|
||||
if: steps.versions.outputs.is_new == 'true'
|
||||
# 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)
|
||||
@@ -65,7 +58,7 @@ jobs:
|
||||
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'
|
||||
# if: steps.versions.outputs.is_new == 'true'
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: diff
|
||||
|
||||
Reference in New Issue
Block a user