Skip to content

Commit

Permalink
[gha] debug gh windows etc
Browse files Browse the repository at this point in the history
  • Loading branch information
oxy86 committed Dec 4, 2024
1 parent 70309ac commit 5c7a0dd
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,12 @@ jobs:
exit 1
fi
- if: contains( matrix.os, 'ubuntu-20.04') && matrix.qt-version == '6.8.9' && env.LINUX_ARTIFACT != ''
- if: contains( matrix.os, 'ubuntu-20.04') && matrix.qt-version == '6.8.0' && env.LINUX_ARTIFACT != ''
name: 📤 Upload ${{matrix.os}} build artifacts of ${{env.APP_NAME}} ${{ env.VERSION }} to GitHub ${{ env.UPLOAD_URL }}
run: |
echo "🔍 Verifying artifact: ${{ env.LINUX_ARTIFACT }}"
pwd
ls
if [ ! -f "./${{ env.LINUX_ARTIFACT }}" ]; then
echo "❌ Error: Artifact not found!"
exit 1
Expand Down Expand Up @@ -504,6 +506,8 @@ jobs:
name: 📤 Upload ${{matrix.os}} build artifacts of ${{env.APP_NAME}} ${{ env.VERSION }} to GitHub ${{ env.UPLOAD_URL }}
run: |
echo "🔍 Verifying artifact: ${{ env.MAC_ARTIFACT }}"
pwd
ls
if [ ! -f "./${{ env.MAC_ARTIFACT }}" ]; then
echo "❌ Error: Artifact not found!"
exit 1
Expand Down Expand Up @@ -581,6 +585,12 @@ jobs:
echo "🔧 Copying InnoSetup script..."
copy scripts\innosetup.iss build\innosetup.iss

echo "Updating RELEASEFOLDER in innosetup.iss with ${{env.CMAKE_CONFIG}}..."
$config = "${{env.CMAKE_CONFIG}}"
(Get-Content innosetup.iss) -replace '#define RELEASEFOLDER "release\\\\"', "#define RELEASEFOLDER `"$config\\\\"`" | Set-Content innosetup.iss

Check warning on line 590 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

590:151 [line-length] line too long (153 > 150 characters)
echo "Updated innosetup.iss:"
type build\innosetup.iss

Check failure on line 593 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

593:1 [trailing-spaces] trailing spaces
echo "🔧 Running Inno Setup to create installer..."
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "build\innosetup.iss"

Expand Down

0 comments on commit 5c7a0dd

Please sign in to comment.