Restore minor patch workflow only on new
Also remove scheduled run of minor patch workflow
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
name: Minor Patch Diff Workflow
|
name: Minor Patch Diff Workflow
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
|
||||||
- cron: '0 7 * * *' # 11PM PST is 7AM UTC
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -26,27 +24,27 @@ jobs:
|
|||||||
run: python automation/ffxiv_info.py >> $GITHUB_OUTPUT
|
run: python automation/ffxiv_info.py >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Download Latest ffxiv_dx11.exe
|
- name: Download Latest ffxiv_dx11.exe
|
||||||
# if: steps.versions.outputs.is_new == 'true'
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
run: python automation/download_exe.py --output latest/
|
run: python automation/download_exe.py --output latest/
|
||||||
|
|
||||||
- name: Download Previous ffxiv_dx11.exe
|
- name: Download Previous ffxiv_dx11.exe
|
||||||
# if: steps.versions.outputs.is_new == 'true'
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
run: python automation/download_exe.py --version "${{ steps.versions.outputs.thaliak_version_prev }}" --output previous/
|
run: python automation/download_exe.py --version "${{ steps.versions.outputs.thaliak_version_prev }}" --output previous/
|
||||||
|
|
||||||
- name: Install Analysis Tools
|
- name: Install Analysis Tools
|
||||||
# if: steps.versions.outputs.is_new == 'true'
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
run: |
|
run: |
|
||||||
curl -L -o radare2.deb https://github.com/radareorg/radare2/releases/download/6.1.0/radare2_6.1.0_amd64.deb
|
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
|
sudo dpkg -i radare2.deb || sudo apt-get install -f -y
|
||||||
rm radare2.deb
|
rm radare2.deb
|
||||||
|
|
||||||
- name: Install Python Dependencies
|
- name: Install Python Dependencies
|
||||||
# if: steps.versions.outputs.is_new == 'true'
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements-vtable.txt
|
pip install -r requirements-vtable.txt
|
||||||
|
|
||||||
- name: Run Diff
|
- name: Run Diff
|
||||||
# if: steps.versions.outputs.is_new == 'true'
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
run: |
|
run: |
|
||||||
LATEST_EXE=$(find latest -name "ffxiv_dx11.exe" | head -n 1)
|
LATEST_EXE=$(find latest -name "ffxiv_dx11.exe" | head -n 1)
|
||||||
PREVIOUS_EXE=$(find previous -name "ffxiv_dx11.exe" | head -n 1)
|
PREVIOUS_EXE=$(find previous -name "ffxiv_dx11.exe" | head -n 1)
|
||||||
@@ -58,7 +56,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"
|
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
|
- name: Upload Results
|
||||||
# if: steps.versions.outputs.is_new == 'true'
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: diff
|
name: diff
|
||||||
|
|||||||
Reference in New Issue
Block a user