Skip to content

Commit

Permalink
refactor: update release workflow and inno_bundle configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kodjodevf committed Feb 20, 2025
1 parent 8b25382 commit 3b12f5f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand All @@ -200,15 +200,15 @@ 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
path: |
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: |
Expand Down
13 changes: 11 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3b12f5f

Please sign in to comment.