refactor: update release workflow and inno_bundle configuration

This commit is contained in:
Moustapha Kodjo Amadou 2025-02-20 14:43:18 +01:00
parent 8b25382b82
commit 3b12f5f4c2
2 changed files with 15 additions and 6 deletions

View file

@ -160,7 +160,7 @@ jobs:
artifacts: "/Users/runner/work/mangayomi/mangayomi/*.dmg"
allowUpdates: true
build-and-release-windows-zip:
build-and-release-windows-exe_zip:
permissions:
contents: write
runs-on: windows-latest
@ -190,7 +190,7 @@ jobs:
- name: build windows exe
run: |
dart run inno_bundle:build --release
dart run inno_bundle:build --release --app-version ${{ github.ref_name }} | ForEach-Object { $_ -replace "[a-z]", "" }
- name: build windows zip
run: |
@ -200,7 +200,7 @@ jobs:
Compress-Archive -Path * -DestinationPath Mangayomi-Windows.zip
Rename-Item -Path "Mangayomi-*.zip" -NewName "Mangayomi-${{ github.ref_name }}-windows.zip"
- name: upload artifact windows zip
- name: upload artifact windows exe_zip
uses: actions/upload-artifact@v4
with:
name: Mangayomi-${{ github.ref_name }}-windows-zip
@ -208,7 +208,7 @@ jobs:
build/windows/x64/installer/Release/Mangayomi-*.exe
build/windows/x64/runner/Release/Mangayomi-*.zip
- name: release package windows zip
- name: release package windows exe_zip
uses: ncipollo/release-action@v1
with:
artifacts: |

View file

@ -140,6 +140,15 @@ flutter_launcher_icons:
generate: true
image_path: "assets/app_icons/icon-red.png"
inno_bundle:
id: 984c49b9-1c39-58f2-b0bb-8d30a87279e2
publisher: Mangayomi
id: 6CB26FFA-E72B-42C3-91E8-594940031CA2
publisher: kodjodevf
name: Mangayomi
url: https://github.com/kodjodevf/mangayomi/
support_url: https://github.com/kodjodevf/mangayomi/
updates_url: https://github.com/kodjodevf/mangayomi/
languages:
- english
- french
- german
admin: false