Skip to content
Merged
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
11 changes: 6 additions & 5 deletions .github/workflows/create-release-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# Step 2: Update iOS-specific files and build binaries
update-and-build:
needs: prep
runs-on: macos-13
runs-on: macos-14

outputs:
version_from: ${{ steps.extract_version.outputs.current_version }}
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
# Step 4: Update XCFramework repository
update-xcframework:
needs: [prep, update-and-build, create-ios-pr]
runs-on: macos-13
runs-on: macos-14

env:
VERSION: ${{ github.event.inputs.version }}
Expand Down Expand Up @@ -192,9 +192,6 @@ jobs:
path: xcframework-repo
token: ${{ secrets.PAT_TOKEN_ONESIGNAL_XCFRAMEWORK }}

- name: Setup Git User
uses: OneSignal/sdk-actions/.github/actions/setup-git-user@main

- name: Update Package.swift in XCFramework Repository
run: |
# Copy Package.swift from iOS SDK to XCFramework repo
Expand All @@ -212,6 +209,10 @@ jobs:
# Create release branch
git checkout -b $RELEASE_BRANCH

# Configure git
git config --local user.email "[email protected]"
git config --local user.name "github-actions[bot]"

# Commit changes
git commit -am "Release $VERSION"

Expand Down
Loading