Create build-ios.yaml

This commit is contained in:
Stetsed
2025-01-04 19:03:12 +01:00
committed by GitHub
parent f4624bdc25
commit 1a43f7ef1b

48
.github/workflows/build-ios.yaml vendored Normal file
View File

@@ -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