From 79e38af058b3af21c57fdea6889e8ee602aa2054 Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Fri, 18 Oct 2024 14:15:48 +0900 Subject: [PATCH 1/2] Fix GitHub Actions --- .../Models/Internal/SK2RenewalInfo.swift | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Sources/Flare/Classes/Models/Internal/SK2RenewalInfo.swift b/Sources/Flare/Classes/Models/Internal/SK2RenewalInfo.swift index ea9169b91..6074fc233 100644 --- a/Sources/Flare/Classes/Models/Internal/SK2RenewalInfo.swift +++ b/Sources/Flare/Classes/Models/Internal/SK2RenewalInfo.swift @@ -68,14 +68,22 @@ extension SK2RenewalInfo: IRenewalInfo { } var renewalPrice: Decimal? { - underlyingRenewalInfo.renewalPrice + #if swift(>=6.0) + underlyingRenewalInfo.renewalPrice + #else + nil + #endif } var currency: String? { - if #available(iOS 16.0, macOS 13.0, watchOS 9.0, tvOS 16.0, *) { - underlyingRenewalInfo.currency?.identifier - } else { - underlyingRenewalInfo.currencyCode - } + #if swift(>=6.0) + if #available(iOS 16.0, macOS 13.0, watchOS 9.0, tvOS 16.0, *) { + underlyingRenewalInfo.currency?.identifier + } else { + underlyingRenewalInfo.currencyCode + } + #else + nil + #endif } } From 8089e75f84de4685f5a343916d495a74a9158082 Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Fri, 18 Oct 2024 14:20:16 +0900 Subject: [PATCH 2/2] Update `CHANGELOG.md` --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2905a83cf..e900ea4d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ All notable changes to this project will be documented in this file. - Update RenewalInfo Model with renewalPrice and currency - Updated in Pull Request [#85](https://github.com/space-code/flare/pull/85) +## Fixed +- Fix the GitHub Actions Pipeline + - Fixed in Pull Request [#88](https://github.com/space-code/flare/pull/88) + #### 3.x Releases - `3.0.x` Releases - [`3.0.0`](#300) | [`3.0.1`](#301) | [`3.0.2`](#302) - `3.0.0` Release Candidates - [`3.0.0-rc.1`](#300-rc1) | [`3.0.0-rc.2`](#300-rc2)