File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed
example-app/ios/App/CapApp-SPM Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 99 workflow_call : # Allow this workflow to be called by other workflows
1010
1111jobs :
12+ guard_swiftpm_version :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Check out
16+ uses : actions/checkout@v6
17+ - name : Enforce capacitor-swift-pm version
18+ run : |
19+ set -euo pipefail
20+ if ! grep -Eq 'https://github.com/ionic-team/capacitor-swift-pm\.git"[[:space:]]*,[[:space:]]*from:[[:space:]]*"8\.0\.0"' Package.swift; then
21+ echo "Expected capacitor-swift-pm to be pinned to 8.0.0 in Package.swift"
22+ exit 1
23+ fi
1224 build_android :
1325 runs-on : ubuntu-latest
1426 steps :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ let package = Package(
1010 targets: [ " CapacitorPedometerPlugin " ] )
1111 ] ,
1212 dependencies: [
13- . package ( url: " https://github.com/ionic-team/capacitor-swift-pm.git " , from: " 8.0.1 " )
13+ . package ( url: " https://github.com/ionic-team/capacitor-swift-pm.git " , from: " 8.0.0 " )
1414 ] ,
1515 targets: [
1616 . target(
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ let package = Package(
1111 targets: [ " CapApp-SPM " ] )
1212 ] ,
1313 dependencies: [
14- . package ( url: " https://github.com/ionic-team/capacitor-swift-pm.git " , from: " 8.0.1 " ) ,
14+ . package ( url: " https://github.com/ionic-team/capacitor-swift-pm.git " , from: " 8.0.0 " ) ,
1515 . package ( name: " CapgoCapacitorPedometer " , path: " ../../../.. " )
1616 ] ,
1717 targets: [
Original file line number Diff line number Diff line change 4646 "enabled" : false
4747 },
4848 {
49- "matchPackageNames" : [
50- " ionic-team/capacitor-swift-pm"
51- ],
5249 "matchManagers" : [
5350 " swift-pm"
5451 ],
52+ "matchPackagePatterns" : [
53+ " ^https://github.com/ionic-team/capacitor-swift-pm\\ .git$" ,
54+ " ^ionic-team/capacitor-swift-pm$" ,
55+ " ^capacitor-swift-pm$"
56+ ],
57+ "allowedVersions" : " 8.0.0" ,
5558 "enabled" : false
5659 },
5760 {
You can’t perform that action at this time.
0 commit comments