Skip to content

ReStreet: FIFA Street (2012) recompiled for Windows PC, with online play, a launcher with friends, chat and rooms. Bring your own game.

CI: clang resource folder '20' broke the installer build; Discord post skips without the webhook secret

SamuelitoDaVila06b83fe595ff
diff --git a/.github/workflows/discord-release.yml b/.github/workflows/discord-release.yml
index cd0a032..9ec1c92 100644
--- a/.github/workflows/discord-release.yml
+++ b/.github/workflows/discord-release.yml
@@ -23,8 +23,8 @@ jobs:
BODY: ${{ github.event.release.body }}
run: |
if [ -z "$WEBHOOK" ]; then
- echo "DISCORD_RELEASE_WEBHOOK secret is not set"
- exit 1
+ echo "::warning::DISCORD_RELEASE_WEBHOOK secret is not set, no Discord post"
+ exit 0
fi
MENTION=""
if [ -n "$ROLE_ID" ]; then MENTION="<@&$ROLE_ID> New update is out!"; fi
diff --git a/.github/workflows/release-installer.yml b/.github/workflows/release-installer.yml
index a0e262c..ac060ba 100644
--- a/.github/workflows/release-installer.yml
+++ b/.github/workflows/release-installer.yml
@@ -135,7 +135,7 @@ jobs:
New-Item -ItemType Directory -Force -Path dist | Out-Null
$clangRoot = 'C:\Program Files\LLVM\lib\clang'
$clangVersion = (Get-ChildItem -LiteralPath $clangRoot -Directory |
- Sort-Object { [version]$_.Name } -Descending |
+ Sort-Object { [int]($_.Name -split '\.')[0] } -Descending | # LLVM 20+ names it just '20'
Select-Object -First 1).Name
if (-not $clangVersion) { throw 'Unable to determine the installed Clang resource version.' }
$ninja = (Get-Command ninja.exe -ErrorAction Stop).Source