Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bsneed committed Nov 2, 2023
1 parent 11db5fa commit 03d21dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ jobs:
with:
workflow_id: ${{ github.event.workflow.id }}

build_and_test_spm_mac:
needs: cancel_previous
runs-on: macos-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v2
- name: Build
run: swift build
- name: Run tests
run: swift test

build_and_test_ios:
needs: cancel_previous
runs-on: macos-latest
Expand Down
9 changes: 9 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
"version" : "1.4.8"
}
},
{
"identity" : "analytics-swift-consent",
"kind" : "remoteSourceControl",
"location" : "https://github.com/segment-integrations/analytics-swift-consent.git",
"state" : {
"revision" : "d1f5f0f6fcdd7849640e9bfe997b9d0a3ace77f2",
"version" : "1.0.0"
}
},
{
"identity" : "otpublishersheadlesssdk",
"kind" : "remoteSourceControl",
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ let package = Package(
.package(url: "https://github.com/Zentrust/OTPublishersHeadlessSDKtvOS", from: "202309.1.0"),
.package(url: "https://github.com/Zentrust/OTPublishersHeadlessSDK", from: "202309.1.0"),
.package(url: "https://github.com/segmentio/analytics-swift.git", from: "1.4.8"),
.package(name: "SegmentConsent", path: "../analytics-swift-consent"),
.package(url: "https://github.com/segment-integrations/analytics-swift-consent.git", from: "1.0.0"),
],
targets: [
.target(
name: "SegmentConsentOneTrust",
dependencies: [
.product(name: "Segment", package: "analytics-swift"),
"SegmentConsent",
.product(name: "SegmentConsent", package: "analytics-swift-consent"),
.byNameItem(name: "OTPublishersHeadlessSDK", condition: .when(platforms: [.iOS])),
.byNameItem(name: "OTPublishersHeadlessSDKtvOS", condition: .when(platforms: [.tvOS])),
]),
Expand Down

0 comments on commit 03d21dd

Please sign in to comment.