diff --git a/.github/workflows/automated-ios-build.yml b/.github/workflows/automated-ios-build.yml new file mode 100644 index 0000000..1de529e --- /dev/null +++ b/.github/workflows/automated-ios-build.yml @@ -0,0 +1,32 @@ +name: Automated iOS Build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: macos-13 + steps: + - uses: actions/checkout@v3 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.1' + - uses: yukiarrr/ios-build-action@v1.11.2 + with: + project-path: qBitControl.xcodeproj + p12-base64: ${{ secrets.P12_BASE64 }} + mobileprovision-base64: ${{ secrets.MOBILEPROVISION_BASE64 }} + code-signing-identity: ${{ secrets.CODE_SIGNING_IDENTITY }} + team-id: ${{ secrets.TEAM_ID }} + output-path: qBitControl.ipa + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: true + automatic_release_tag: "CI" + title: "qBitControl CI" + files: | + qBitControl.ipa