-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(GiniInternalPaymentSDK): Bumps version 1.0.0
- Loading branch information
1 parent
56d5443
commit 37ad461
Showing
4 changed files
with
87 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Check Gini Internal Payment SDK | ||
on: | ||
push: | ||
paths: | ||
- 'GiniComponents/GiniInternalPaymentSDK/**' | ||
tags-ignore: | ||
- '**' | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check: | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
target: [GiniInternalPaymentSDK] | ||
destination: ['platform=iOS Simulator,OS=17.2,name=iPhone SE (3rd generation)', 'platform=iOS Simulator,OS=17.5,name=iPhone 15'] | ||
steps: | ||
- uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: '15.3' | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check package GiniInternalPaymentSDK | ||
run: | | ||
cd GiniComponents/GiniInternalPaymentSDK | ||
swift package update | ||
- name: Build sdk targets | ||
run: | | ||
xcodebuild -workspace GiniMobile.xcworkspace -scheme "${{ matrix.target }}" -destination "${{ matrix.destination }}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Release Gini Internal Payment SDK | ||
on: | ||
push: | ||
tags: | ||
- 'GiniInternalPaymentSDK;[0-9]+.[0-9]+.[0-9]+' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check: | ||
uses: gini/gini-mobile-ios/.github/workflows/internal-payment-sdk.check.yml@main | ||
|
||
release: | ||
needs: check | ||
runs-on: macos-latest | ||
steps: | ||
- uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: '15.3' | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2.0' | ||
bundler-cache: true | ||
|
||
- name: Publish GiniInternalPaymentSDK package to the release repo | ||
uses: maierj/[email protected] | ||
with: | ||
lane: 'publish_swift_package' | ||
options: > | ||
{ | ||
"project_folder": "GiniComponents", | ||
"package_folder": "GiniInternalPaymentSDK", | ||
"version_file_path": "GiniComponents/GiniInternalPaymentSDK/Sources/GiniInternalPaymentSDK/GiniInternalPaymentSDKVersion.swift", | ||
"git_tag": "${{ github.ref }}", | ||
"repo_url": "https://github.com/gini/internal-payment-sdk-ios.git", | ||
"repo_user": "${{ secrets.RELEASE_GITHUB_USER }}", | ||
"repo_password": "${{ secrets.RELEASE_GITHUB_PASSWORD }}", | ||
"ci": "true" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...GiniInternalPaymentSDK/Sources/GiniInternalPaymentSDK/GiniInternalPaymentSDKVersion.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// | ||
// GiniInternalPaymentSDKVersion.swift | ||
// | ||
// Copyright © 2024 Gini GmbH. All rights reserved. | ||
// | ||
|
||
|
||
import Foundation | ||
public let GiniInternalPaymentSDKVersion = "1.0.0" |