-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
486f63b
commit c514ca4
Showing
1 changed file
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: APK Build | ||
name: IPA Build | ||
|
||
on: | ||
# Runs on push to any of the below branches | ||
|
@@ -24,7 +24,7 @@ env: | |
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
|
@@ -45,21 +45,16 @@ jobs: | |
with: | ||
flutter-version: ${{ env.FLUTTER_VERSION }} | ||
|
||
- name: Setup Java JDK | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' # See https://github.com/marketplace/actions/setup-java-jdk#supported-distributions for available options | ||
java-version: '21' | ||
|
||
- name: Flet Build APK | ||
- name: Flet Build IPA | ||
run: | | ||
flutter config --no-analytics | ||
flet build apk --verbose --include-packages flet_audio | ||
flet build ipa --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION --include-packages flet_audio | ||
- name: Upload APK Artifact | ||
- name: Upload IPA Artifact | ||
uses: actions/[email protected] # https://github.com/marketplace/actions/upload-a-build-artifact | ||
with: | ||
name: apk-build-artifact # the name of the artifact | ||
path: build/apk # location of Flet build output | ||
name: ipa-build-artifact # the name of the artifact | ||
path: build/ipa # location of Flet build output | ||
if-no-files-found: error # Fail the action with an error message if no files are found | ||
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist. | ||
|