Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Update build workflow and fix code signing issue #416

Merged
merged 6 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build on push

on:
push:
pull_request:

jobs:
build:
name: Xcode Build
runs-on: macos-14

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Build Project
run: |
xcodebuild build -project azooKey.xcodeproj \
-scheme MainApp \
-sdk iphoneos \
-configuration Release \
CODE_SIGNING_ALLOWED=NO
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
# Please refer to the following link for guidance:
# https://zenn.dev/articles/how-to-build-ios-app-in-github-actions

name: Build
name: Upload build to App Store Connect

on:
push:
branches:
- develop

jobs:
build:
name: Build
jobs:
build_and_upload:
name: Build and Upload to App Store Connect
runs-on: macos-14

steps:
Expand All @@ -26,7 +26,7 @@ jobs:
-scheme MainApp \
-sdk iphoneos \
-configuration Release \
CODE_SIGNING_ALLOWED=NO \
CODE_SIGNING_ALLOWED=NO

- name: Archive Project
run: |
Expand Down
Loading