Skip to content

Commit 1043296

Browse files
author
Carlos Cabanero
committed
Updated workflow
- Disabled IPA upload as the library has expired and it is unused. - Use latest macOS when available.
1 parent 8a4d2b3 commit 1043296

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

.github/workflows/build.yml

+20-16
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on: [push]
55
jobs:
66
build:
77

8-
# runs-on: macOS-latest
9-
runs-on: macos-13
8+
runs-on: macOS-latest
9+
#runs-on: macos-13
1010

1111
steps:
1212
# - uses: swift-actions/setup-swift@v1
@@ -30,23 +30,27 @@ jobs:
3030
if: steps.cache.outputs.cache-hit != 'true'
3131
run: ./get_frameworks.sh
3232

33+
- name: get resources
34+
if: steps.cache.outputs.cache-hit != 'true'
35+
run: ./get_resources.sh
36+
3337
- name: copy xcconfig
3438
run: cp template_setup.xcconfig developer_setup.xcconfig
3539

3640
- name: BlinkTests
3741
run: xcodebuild -project Blink.xcodeproj -scheme BlinkTests -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Air (5th generation)' test | xcpretty
3842

39-
- name: actual build
40-
run: set -o pipefail && xcodebuild archive -project Blink.xcodeproj -scheme Blink -sdk iphoneos -configuration Debug clean build IPHONEOS_DEPLOYMENT_TARGET='16.1' CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO ONLY_ACTIVE_ARCH=NO | tee build.log | xcpretty
41-
42-
- name: generate unsigned debug ipa
43-
run: |
44-
cd ~
45-
mkdir Payload
46-
mv ~/Library/Developer/Xcode/Archives/*/*/Products/Applications/Blink.app ~/Payload/
47-
zip -r Blink.ipa Payload
48-
- name: upload ipa
49-
uses: actions/[email protected]
50-
with:
51-
name: 'BlinkShell'
52-
path: ~/Blink.ipa
43+
# - name: actual build
44+
# run: set -o pipefail && xcodebuild archive -project Blink.xcodeproj -scheme Blink -sdk iphoneos -configuration Debug clean build IPHONEOS_DEPLOYMENT_TARGET='16.1' CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO ONLY_ACTIVE_ARCH=NO | tee build.log | xcpretty
45+
46+
# - name: generate unsigned debug ipa
47+
# run: |
48+
# cd ~
49+
# mkdir Payload
50+
# mv ~/Library/Developer/Xcode/Archives/*/*/Products/Applications/Blink.app ~/Payload/
51+
# zip -r Blink.ipa Payload
52+
# - name: upload ipa
53+
# uses: actions/[email protected]
54+
# with:
55+
# name: 'BlinkShell'
56+
# path: ~/Blink.ipa

0 commit comments

Comments
 (0)