mirror of
https://github.com/Ferrite-iOS/Ferrite.git
synced 2026-01-11 20:10:27 +00:00
Some checks are pending
Build and upload nightly ipa / build (push) Waiting to run
Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
name: Build and upload release ipa
|
|
|
|
on:
|
|
release:
|
|
types:
|
|
- created
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-15
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Xcode
|
|
uses: maxim-lobanov/setup-xcode@v1
|
|
with:
|
|
xcode-version: latest-stable
|
|
- name: Build
|
|
run: xcodebuild -scheme Ferrite -configuration Release archive -archivePath build/Ferrite.xcarchive CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
|
|
env:
|
|
IS_NIGHTLY: NO
|
|
- name: Get app version
|
|
run: |
|
|
echo "app_version=$(/usr/libexec/plistbuddy -c Print:CFBundleShortVersionString: build/Ferrite.xcarchive/Products/Applications/Ferrite.app/Info.plist)" >> $GITHUB_ENV
|
|
- name: Package ipa
|
|
run: |
|
|
mkdir Payload
|
|
cp -r build/Ferrite.xcarchive/Products/Applications/Ferrite.app Payload
|
|
zip -r Ferrite-iOS_v${{ env.app_version }}.ipa Payload
|
|
- name: Create ipa zip
|
|
run: |
|
|
zip -j Ferrite-iOS_v${{ env.app_version }}.ipa.zip Ferrite-iOS_v${{ env.app_version }}.ipa
|
|
- name: Upload release
|
|
uses: softprops/action-gh-release@v2
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
files: Ferrite-iOS_v${{ env.app_version }}.ipa.zip
|