From 1a43f7ef1b3ea03efbca542b8c394237d6e14a9d Mon Sep 17 00:00:00 2001 From: Stetsed <33891782+Stetsed@users.noreply.github.com> Date: Sat, 4 Jan 2025 19:03:12 +0100 Subject: [PATCH] Create build-ios.yaml --- .github/workflows/build-ios.yaml | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/build-ios.yaml diff --git a/.github/workflows/build-ios.yaml b/.github/workflows/build-ios.yaml new file mode 100644 index 00000000..9c249fe4 --- /dev/null +++ b/.github/workflows/build-ios.yaml @@ -0,0 +1,48 @@ +name: release + +on: + push: + branches: + - main + +jobs: + build: + runs-on: macos-15-large + name: Build IOS + steps: + - uses: actions/checkout@v2 + name: Check out repository + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + - run: | + bun i && bun run submodule-reload + npx expo prebuild + - uses: sparkfabrik/ios-build-action@v2.3.0 + with: + upload-to-testflight: false + increment-build-number: false + build-pods: true + pods-path: "ios/Podfile" + configuration: Release + # Change later to app-store if wanted + #export-method: app-store + export-method: ad-hoc + workspace-path: "ios/Streamyfin.xcodeproj/project.xcworkspace/" + project-path: "ios/Streamyfin.xcodeproj" + scheme: Streamyfin + #apple-key-id: ${{ secrets.APPLE_KEY_ID }} + #apple-key-issuer-id: ${{ secrets.APPLE_KEY_ISSUER_ID }} + #apple-key-content: ${{ secrets.APPLE_KEY_CONTENT }} + #team-id: ${{ secrets.TEAM_ID }} + #team-name: ${{ secrets.TEAM_NAME }} + #match-password: ${{ secrets.MATCH_PASSWORD }} + #match-git-url: ${{ secrets.MATCH_GIT_URL }} + #match-git-basic-authorization: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }} + #match-build-type: "appstore" + #browserstack-upload: true + #browserstack-username: ${{ secrets.BROWSERSTACK_USERNAME }} + #browserstack-access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} + #fastlane-env: stage + ios-app-id: com.stetsed.teststreamyfin + output-path: build-${{ github.sha }}.ipa