mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: macOS and iOS flavors (#68)
## Pull Request Description Both macos and iOS flavors are now configured properly ## Checklist - [x] If a new package was added, did you ensure it works for all supported platforms? Is the package also well maintained? - [x] Did you add localization for any text? If yes, did you sort the .arb file using ```arb_utils sort <INPUT_FILE>```? - [x] Check that any changes are related to the issue at hand. --------- Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
2ad6bc1b5e
commit
8926ece5bb
40 changed files with 960 additions and 101 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -145,7 +145,7 @@ jobs:
|
|||
VERSION_NAME=$(grep '^version:' pubspec.yaml | cut -d ':' -f2 | cut -d '+' -f1 | tr -d ' ')
|
||||
echo "PACKAGE_NAME=$APP_NAME-iOS-$VERSION_NAME" >> $GITHUB_ENV
|
||||
|
||||
flutter build ipa --no-codesign --build-name=$VERSION_NAME --build-number=${{ github.run_number }}
|
||||
flutter build ipa --no-codesign --flavor production --build-name=$VERSION_NAME --build-number=${{ github.run_number }}
|
||||
|
||||
- name: Create unsigned IPA
|
||||
run: |
|
||||
|
|
@ -185,17 +185,17 @@ jobs:
|
|||
VERSION_NAME=$(grep '^version:' pubspec.yaml | cut -d ':' -f2 | cut -d '+' -f1 | tr -d ' ')
|
||||
echo "PACKAGE_NAME=$APP_NAME-macOS-$VERSION_NAME" >> $GITHUB_ENV
|
||||
|
||||
flutter build macos --build-name=$VERSION_NAME --build-number=${{ github.run_number }}
|
||||
flutter build macos --flavor production --build-name=$VERSION_NAME --build-number=${{ github.run_number }}
|
||||
|
||||
- name: Create DMG file
|
||||
run: |
|
||||
hdiutil create -format UDZO -srcfolder build/macos/Build/Products/Release/fladder.app build/macos/Build/Products/Release/${{ env.PACKAGE_NAME }}.dmg
|
||||
hdiutil create -format UDZO -srcfolder build/macos/Build/Products/Release-production/fladder.app build/macos/Build/Products/Release-production/${{ env.PACKAGE_NAME }}.dmg
|
||||
|
||||
- name: Archive macOS artifact
|
||||
uses: actions/upload-artifact@v4.0.0
|
||||
with:
|
||||
name: ${{ env.PACKAGE_NAME }}
|
||||
path: build/macos/Build/Products/Release/${{ env.PACKAGE_NAME }}.dmg
|
||||
path: build/macos/Build/Products/Release-production/${{ env.PACKAGE_NAME }}.dmg
|
||||
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue