Skip to content

Commit

Permalink
IPA
Browse files Browse the repository at this point in the history
  • Loading branch information
ositoMalvado committed Oct 17, 2024
1 parent 486f63b commit c514ca4
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/ipa-build.yml
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
Expand All @@ -24,7 +24,7 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- name: Checkout code
Expand All @@ -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.

0 comments on commit c514ca4

Please sign in to comment.