Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iris1598 committed Aug 31, 2024
1 parent d71d6df commit 9840662
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- run: flutter pub get
# 打包apk
- name: Collect Apks
run: flutter build apk --release --split-per-abi -v
run: flutter build apk --debug --split-per-abi -v
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
Expand All @@ -59,18 +59,8 @@ jobs:
- name: Upload Artifact - armeabi-v7a
uses: actions/upload-artifact@v3
with:
path: "build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk"
name: Miru-${{github.ref_name}}-armeabi-v7a.apk
- name: Upload Artifact - arm64-v8a
uses: actions/upload-artifact@v3
with:
path: "build/app/outputs/flutter-apk/app-arm64-v8a-release.apk"
name: Miru-${{github.ref_name}}-arm64-v8a.apk
- name: Upload Artifact - x86
uses: actions/upload-artifact@v3
with:
path: "build/app/outputs/flutter-apk/app-x86_64-release.apk"
name: Miru-${{github.ref_name}}-x86_64.apk
path: "build/app/outputs/flutter-apk/app-debug.apk"
name: Miru-${{github.ref_name}}-debug.apk
- name: Release Packages
uses: ncipollo/release-action@v1
with:
Expand Down Expand Up @@ -130,7 +120,7 @@ jobs:
- name: Install project dependencies
run: flutter pub get
- name: Build artifacts
run: flutter build windows --release -v
run: flutter build windows
- name: Build Installer
run: iex ("& {0} {1} {2}" -f '"C:\Program Files (x86)\Inno Setup 6\iscc.exe"',"/DMyAppVersion='${{github.ref_name}}'", ".\inno_setup.iss")
- name: Archive Release
Expand Down

0 comments on commit 9840662

Please sign in to comment.