8 Commits

Author SHA1 Message Date
Dusk 3973c5b302 Téléverser les fichiers vers "Payload/Fallback" 2026-09-12 13:36:39 +00:00
Dusk f99bd7e7b2 Actualiser .github/workflows/build.yml 2026-09-12 13:35:38 +00:00
Dusk f0e36e7fc9 Actualiser README.md
Build Windows EXE / build (push) Has been cancelled
2026-09-12 13:02:43 +00:00
Dusk d29d6b8020 Actualiser README.md
Build Windows EXE / build (push) Has been cancelled
2026-09-12 13:02:23 +00:00
Dusk de08b39896 Actualiser README.md
Build Windows EXE / build (push) Has been cancelled
2026-09-12 13:00:44 +00:00
Dusk 5cadbda323 Actualiser README.md
Build Windows EXE / build (push) Has been cancelled
2026-09-12 13:00:24 +00:00
Dusk 5ebcebffdd Actualiser README.md
Build Windows EXE / build (push) Has been cancelled
2026-09-12 12:59:41 +00:00
Dusk-92 2d4126ad5e Reduce CI build and artifact usage
Build Windows EXE / build (push) Has been cancelled
Run validation-only checks on direct test-branch pushes, keep full Windows builds for PRs, main, tags and manual runs, and store Actions artifacts only for explicit manual builds with 7-day retention. Release publishing remains unchanged.
2026-09-08 10:12:07 +02:00
3 changed files with 47 additions and 63 deletions
+30 -57
View File
@@ -4,8 +4,7 @@ on:
push:
branches:
- 'main'
- 'feature/client-tweaks'
- 'test/discord-presence'
- 'test/**'
tags:
- 'v*'
pull_request:
@@ -13,25 +12,31 @@ on:
- 'main'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: modernization-${{ github.workflow }}-${{ github.ref }}
group: modernization-${{ forgejo.workflow }}-${{ forgejo.event_name }}-${{ forgejo.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: windows-2025
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: https://code.forgejo.org/actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11.9'
# Self-hosted Windows runner: use the Python already installed on the host.
# actions/setup-python tries to modify machine-wide registry keys and needs
# elevated rights on this runner.
- name: Verify runner Python
shell: powershell
run: |
$version = python -c "import platform; print(platform.python_version())"
if ($LASTEXITCODE -ne 0) { throw "Python is not available on the runner PATH." }
Write-Host "Runner Python: $version"
if ($version -ne "3.12.10") {
throw "Expected Python 3.12.10 on the self-hosted runner, found $version."
}
- name: Install pinned build toolchain
run: python -m pip install --disable-pip-version-check -r requirements-build.txt
@@ -42,12 +47,10 @@ jobs:
pyinstaller --version
python -m pip show pyinstaller pyinstaller-hooks-contrib
- name: Configure x86 MSVC
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86
# Direct pushes to test/** run validation only. PRs, main, tags and
# explicit manual runs still validate a real Windows build.
- name: Prepare bundled remote fallbacks
if: ${{ forgejo.event_name != 'push' || forgejo.ref == 'refs/heads/main' || startsWith(forgejo.ref, 'refs/tags/v') }}
run: python scripts/prepare_remote_fallbacks.py
- name: Syntax check
@@ -57,6 +60,7 @@ jobs:
run: python -m unittest discover -s tests -v
- name: Build EXE
if: ${{ forgejo.event_name != 'push' || forgejo.ref == 'refs/heads/main' || startsWith(forgejo.ref, 'refs/tags/v') }}
run: >
pyinstaller
--noconsole
@@ -69,13 +73,15 @@ jobs:
setup_tool_responsive.py
- name: Verify EXE exists
shell: pwsh
if: ${{ forgejo.event_name != 'push' || forgejo.ref == 'refs/heads/main' || startsWith(forgejo.ref, 'refs/tags/v') }}
shell: powershell
run: |
if (-not (Test-Path "dist/WoW_Modernization_Tool.exe")) { throw "Build output missing" }
Get-Item "dist/WoW_Modernization_Tool.exe" | Format-List Name,Length,LastWriteTime
- name: Create ZIP package
shell: pwsh
if: ${{ forgejo.event_name != 'push' || forgejo.ref == 'refs/heads/main' || startsWith(forgejo.ref, 'refs/tags/v') }}
shell: powershell
run: |
$zip = "dist/WoW_Modernization_Tool.zip"
if (Test-Path $zip) { Remove-Item $zip -Force }
@@ -83,48 +89,15 @@ jobs:
if (-not (Test-Path $zip)) { throw "ZIP package missing" }
Get-Item $zip | Format-List Name,Length,LastWriteTime
- name: Upload test artifact
if: ${{ !startsWith(github.ref, 'refs/tags/') && !(github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.3') }}
uses: actions/upload-artifact@v4
# Keep the finished EXE/ZIP available for manual release publishing.
# Artifacts are uploaded for explicit manual runs and version tags.
- name: Upload build artifact
if: ${{ forgejo.event_name == 'workflow_dispatch' || startsWith(forgejo.ref, 'refs/tags/v') }}
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: WoW_Modernization_Tool-test
path: |
dist/WoW_Modernization_Tool.exe
dist/WoW_Modernization_Tool.zip
if-no-files-found: error
# One-time production promotion for v2.3. The exact commit message keeps
# normal main pushes from publishing or modifying the v2.3 release.
# Keep the Git tag aligned with the exact commit used to build the assets.
- name: Synchronize Git tag v2.3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.3' }}
shell: pwsh
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git tag -f v2.3 "${{ github.sha }}"
git push origin refs/tags/v2.3 --force
- name: Create GitHub Release v2.3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.3' }}
uses: softprops/action-gh-release@v3
with:
tag_name: v2.3
target_commitish: ${{ github.sha }}
files: |
dist/WoW_Modernization_Tool.exe
dist/WoW_Modernization_Tool.zip
fail_on_unmatched_files: true
overwrite_files: true
name: "WoW Modernization Tool v2.3"
body_path: RELEASE_NOTES.md
generate_release_notes: false
make_latest: true
- name: Create GitHub Release
if: ${{ startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/tags/v2.3' }}
uses: softprops/action-gh-release@v3
with:
files: |
dist/WoW_Modernization_Tool.exe
dist/WoW_Modernization_Tool.zip
retention-days: 7
+14
View File
@@ -0,0 +1,14 @@
{
"fallbacks": {
"wowpresence": {
"filename": "WowPresence.zip",
"kind": "wowpresence_zip",
"revision": "v1.3",
"sha256": "9b2dca9c69b5ab3b6dae3ef3b3efc9671779a227802ebb6ac98cb22bc6ea448a",
"size": 141423,
"source": "https://octowow.st/git/Dusk/WowPresence/releases/download/v1.3/WowPresence.zip"
}
},
"generated_for": "Modernization Tool release build",
"schema": 1
}
+3 -6
View File
@@ -1,8 +1,5 @@
# 🛠️ WoW Modernization Tool
[![Build Windows EXE](https://github.com/Dusk-92/Modernization-Tool/actions/workflows/build.yml/badge.svg)](https://github.com/Dusk-92/Modernization-Tool/actions/workflows/build.yml)
[![Latest Release](https://img.shields.io/github/v/release/Dusk-92/Modernization-Tool)](https://github.com/Dusk-92/Modernization-Tool/releases/latest)
A simple all-in-one setup tool for **Vanilla WoW 1.12 compatible clients**.
Modernization Tool installs and configures client fixes, performance plugins, Vanilla Tweaks, DXVK and optional visual/audio improvements without requiring users to manually manage DLLs or configuration files.
@@ -15,7 +12,7 @@ Modernization Tool installs and configures client fixes, performance plugins, Va
Download the latest version from:
**[GitHub Releases](https://github.com/Dusk-92/Modernization-Tool/releases/latest)**
**[OctoGit Releases](https://octowow.st/git/Dusk/Modernization-Tool/releases)**
No installation is required. Download and run:
@@ -89,7 +86,7 @@ Optional client-side improvements include:
- **[MinimapIcons](https://codeberg.org/MarcelineVQ/WeirdUtils)** — adds TBC/WotLK-style minimap tracking icons for NPCs and game objects, with a combined tracking menu and saved preferences.
- **[PNG Screenshots](https://codeberg.org/MarcelineVQ/WeirdUtils)** — saves screenshots as compressed PNG files instead of the default uncompressed TGA format, using background processing to minimize frame-time impact.
- **[WorldMarkers](https://codeberg.org/MarcelineVQ/WeirdUtils)** — lets party or raid leaders place up to five animated, Cataclysm-style colored world markers for positioning and tactical planning.
- **[Discord Rich Presence](https://github.com/Dusk-92/WowPresence)** — installs and keeps **WowPresence** up to date. The Tool preconfigures the OctoWoW Discord Application ID and lets you choose which character details are shown on Discord, including **Name, Guild, Race, Faction, Class, Level and Zone**. Custom Discord Application IDs are preserved across updates.
- **[Discord Rich Presence](https://octowow.st/git/Dusk/WowPresence)** — installs and keeps **WowPresence** up to date. The Tool preconfigures the OctoWoW Discord Application ID and lets you choose which character details are shown on Discord, including **Name, Guild, Race, Faction, Class, Level and Zone**. Custom Discord Application IDs are preserved across updates.
---
@@ -239,7 +236,7 @@ Always download Modernization Tool from the official GitHub Releases page.
# 🔗 Useful Links
- **[Latest Release](https://github.com/Dusk-92/Modernization-Tool/releases/latest)**
- **[Latest Release](https://octowow.st/git/Dusk/Modernization-Tool/releases)**
- **[OctoWoW Installation & Modernization Guide](https://octowow.st/forum/viewtopic.php?t=831)**
---