Skip to content

Commit

Permalink
Merge pull request #303 from bcgov/302-sdk-updates
Browse files Browse the repository at this point in the history
[INSPECT-302] ACTION** Change GH Action from macos-latest to macos-14
  • Loading branch information
LocalNewsTV authored May 30, 2024
2 parents d348762 + 678946b commit 7ffb1fc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Build
on:
on:
push:
branches: [ "master" ]
branches: ["master"]

jobs:
build-ios:
name: Build and sign ios
runs-on: macos-latest
runs-on: macos-14

env:
PROJECT: ${{ 'invasivesbc-mussels.iOS.xcworkspace' }}
SCHEME: ${{ 'invasivesbc-mussels.iOS' }}
DATA_DIR: ${{ 'xcbuild' }}
ARCHIVE_NAME: ${{ 'invasivesbc-mussels.iOS.xcarchive' }}
ARCHIVE_NAME: ${{ 'invasivesbc-mussels.iOS.xcarchive' }}
EXPORT_DIR: ${{ 'export' }}
IPA_NAME: ${{ 'invasivesbc-mussels.iOS.ipa' }}
APP_BUILD_VERSION: "2.7"
Expand All @@ -29,18 +29,18 @@ jobs:

- name: Display XCode Path for debug
run: |
xcode-select -p
xcode-select -p
- name: Cache Pods
uses: actions/cache@v3
with:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
${{ runner.os }}-pods-
- name: CocoaPod Install
run: pod install
run: pod install

# from https://docs.github.com/en/enterprise-cloud@latest/actions/deployment/deploying-xcode-applications/installing-an-apple-certificate-on-macos-runners-for-xcode-development
- name: Install the Apple certificate and provisioning profile
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
# apply provisioning profile
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
- name: Increment Build No.
env:
Expand All @@ -92,7 +92,7 @@ jobs:
-archivePath ${DATA_DIR}/${ARCHIVE_NAME} \
archive
- name: Export Archive
- name: Export Archive
# This is the step that signs the build
run: |
xcodebuild \
Expand Down

0 comments on commit 7ffb1fc

Please sign in to comment.