File tree 6 files changed +14
-12
lines changed
AmplifyPlugins/Predictions/AWSPredictionsPlugin/Liveness/Service
6 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 47
47
id : dependencies-cache
48
48
timeout-minutes : 4
49
49
continue-on-error : true
50
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
50
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
51
51
with :
52
52
path : ~/Library/Developer/Xcode/DerivedData/Amplify
53
53
key : amplify-packages-${{ hashFiles('Package.resolved') }}
59
59
if : steps.dependencies-cache.outputs.cache-hit
60
60
timeout-minutes : 4
61
61
continue-on-error : true
62
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
62
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
63
63
with :
64
64
path : ${{ github.workspace }}/Build
65
65
key : Amplify-${{ inputs.platform }}-build-cache
78
78
79
79
- name : Save the dependencies cache in main
80
80
if : inputs.save_build_cache && steps.dependencies-cache.outputs.cache-hit != 'true' && github.ref_name == 'main'
81
- uses : actions/cache/save@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
81
+ uses : actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
82
82
with :
83
83
path : ~/Library/Developer/Xcode/DerivedData/Amplify
84
84
key : ${{ steps.dependencies-cache.outputs.cache-primary-key }}
93
93
94
94
- name : Save the build cache
95
95
if : inputs.save_build_cache && github.ref_name == 'main'
96
- uses : actions/cache/save@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
96
+ uses : actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
97
97
with :
98
98
path : ${{ github.workspace }}/Build
99
99
key : ${{ steps.build-cache.outputs.cache-primary-key }}
Original file line number Diff line number Diff line change 47
47
id : dependencies-cache
48
48
timeout-minutes : 4
49
49
continue-on-error : true
50
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
50
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
51
51
with :
52
52
path : ~/Library/Developer/Xcode/DerivedData/Amplify
53
53
key : amplify-packages-${{ hashFiles('Package.resolved') }}
59
59
if : steps.dependencies-cache.outputs.cache-hit
60
60
timeout-minutes : 4
61
61
continue-on-error : true
62
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
62
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
63
63
with :
64
64
path : ${{ github.workspace }}/Build
65
65
key : Amplify-iOS-build-cache
Original file line number Diff line number Diff line change 70
70
id : dependencies-cache
71
71
timeout-minutes : 4
72
72
continue-on-error : true
73
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
73
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
74
74
with :
75
75
path : ~/Library/Developer/Xcode/DerivedData/Amplify
76
76
key : amplify-packages-${{ hashFiles('Package.resolved') }}
82
82
if : steps.dependencies-cache.outputs.cache-hit
83
83
timeout-minutes : 4
84
84
continue-on-error : true
85
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
85
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
86
86
with :
87
87
path : ${{ github.workspace }}/Build
88
88
key : Amplify-${{ matrix.platform }}-build-cache
Original file line number Diff line number Diff line change 73
73
id : dependencies-cache
74
74
timeout-minutes : 4
75
75
continue-on-error : true
76
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
76
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
77
77
with :
78
78
path : ~/Library/Developer/Xcode/DerivedData/Amplify
79
79
key : amplify-packages-${{ hashFiles('Package.resolved') }}
85
85
if : steps.dependencies-cache.outputs.cache-hit
86
86
timeout-minutes : 4
87
87
continue-on-error : true
88
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
88
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
89
89
with :
90
90
path : ${{ github.workspace }}/Build
91
91
key : Amplify-${{ inputs.platform }}-build-cache
Original file line number Diff line number Diff line change 61
61
id : dependencies-cache
62
62
timeout-minutes : 4
63
63
continue-on-error : true
64
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
64
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
65
65
with :
66
66
path : ~/Library/Developer/Xcode/DerivedData/Amplify
67
67
key : amplify-packages-${{ hashFiles('Package.resolved') }}
73
73
if : steps.dependencies-cache.outputs.cache-hit
74
74
timeout-minutes : 4
75
75
continue-on-error : true
76
- uses : actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
76
+ uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
77
77
with :
78
78
path : ${{ github.workspace }}/Build
79
79
key : Amplify-${{ inputs.platform }}-build-cache
Original file line number Diff line number Diff line change @@ -128,7 +128,9 @@ final class WebSocketSession {
128
128
}
129
129
130
130
let dateFormatter = DateFormatter ( )
131
+ dateFormatter. locale = Locale ( identifier: " en_US_POSIX " )
131
132
dateFormatter. dateFormat = " EEE, d MMM yyyy HH:mm:ss z "
133
+ dateFormatter. timeZone = TimeZone ( secondsFromGMT: 0 )
132
134
guard let serverDate = dateFormatter. date ( from: dateString) else {
133
135
Amplify . log. verbose ( " \( #function) : Error parsing Date header in expected format " )
134
136
onServerDateReceived ( nil )
You can’t perform that action at this time.
0 commit comments