-
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
d10671b
commit 486f63b
Showing
5 changed files
with
195 additions
and
30 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: IPA Build | ||
name: APK Build | ||
|
||
on: | ||
# Runs on push to any of the below branches | ||
|
@@ -24,7 +24,7 @@ env: | |
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
|
@@ -45,16 +45,21 @@ jobs: | |
with: | ||
flutter-version: ${{ env.FLUTTER_VERSION }} | ||
|
||
- name: Flet Build IPA | ||
- 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 | ||
run: | | ||
flutter config --no-analytics | ||
flet build ipa --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION --include-packages flet_audio | ||
flet build apk --verbose --include-packages flet_audio | ||
- name: Upload IPA Artifact | ||
- name: Upload APK Artifact | ||
uses: actions/[email protected] # https://github.com/marketplace/actions/upload-a-build-artifact | ||
with: | ||
name: ipa-build-artifact # the name of the artifact | ||
path: build/ipa # location of Flet build output | ||
name: apk-build-artifact # the name of the artifact | ||
path: build/apk # 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. | ||
|
Binary file not shown.
Binary file not shown.
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
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