File tree 2 files changed +3
-11
lines changed
Widgets/AudioPlaybackWidget/Shared
2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,15 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- name : Checkout
19
- uses : actions/checkout@v3
19
+ uses : actions/checkout@v4
20
20
- name : SwiftLint
21
21
uses : norio-nomura/action-swiftlint@3.2.1
22
22
23
23
build :
24
- runs-on : macos-13
24
+ runs-on : macos-latest
25
25
steps :
26
26
- name : Checkout
27
- uses : actions/checkout@v3
28
- - name : Install Swift
29
- uses : slashmo/install-swift@v0.4.0
30
- with :
31
- version : swift-5.9-DEVELOPMENT-SNAPSHOT-2023-07-04-a
32
- - run : ls /Applications
33
- - run : sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer'
27
+ uses : actions/checkout@v4
34
28
- name : Build
35
29
run : |
36
30
xcodebuild clean build \
Original file line number Diff line number Diff line change @@ -54,8 +54,6 @@ struct AudioPlaybackWidgetPlayIntent: AudioPlaybackIntent {
54
54
struct AudioPlaybackWidgetPauseIntent : AudioPlaybackIntent {
55
55
static var title : LocalizedStringResource = " Pause Music "
56
56
57
- init ( ) { }
58
-
59
57
func perform( ) async throws -> some IntentResult {
60
58
AudioPlayer . shared. pause ( )
61
59
UserDefaults . appGroup. set (
You can’t perform that action at this time.
0 commit comments