File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
src/commonMain/kotlin/com.adamratzman.spotify/endpoints/pub Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 14
14
jobs :
15
15
test_android_jvm_linux_trusted :
16
16
runs-on : ubuntu-latest
17
+ if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
17
18
environment : testing
18
19
env :
19
20
SPOTIFY_CLIENT_ID : ${{ secrets.SPOTIFY_CLIENT_ID }}
39
40
with :
40
41
name : code-coverage-report
41
42
path : build/reports
42
- if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
43
43
test_android_jvm_linux_untrusted :
44
44
runs-on : ubuntu-latest
45
+ if :
46
+ github.event_name == 'repository_dispatch' &&
47
+ github.event.client_payload.slash_command.sha != '' &&
48
+ contains(github.event.client_payload.pull_request.head.sha, github.event.client_payload.slash_command.sha) &&
49
+ github.event.pull_request.head.repo.full_name != github.repository
45
50
environment : testing
46
51
env :
47
52
SPOTIFY_CLIENT_ID : ${{ secrets.SPOTIFY_CLIENT_ID }}
68
73
uses : actions/upload-artifact@v2
69
74
with :
70
75
name : code-coverage-report
71
- path : build/reports
72
- if :
73
- github.event_name == 'repository_dispatch' &&
74
- github.event.client_payload.slash_command.sha != '' &&
75
- contains(github.event.client_payload.pull_request.head.sha, github.event.client_payload.slash_command.sha) &&
76
- github.event.pull_request.head.repo.full_name != github.repository
76
+ path : build/reports
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ public open class SearchApi(api: GenericSpotifyApi) : SpotifyEndpoint(api) {
44
44
Artist (" artist" ),
45
45
Playlist (" playlist" ),
46
46
Show (" show" ),
47
- Episode (" episode" ),
48
- Audiobook (" audiobook" );
47
+ Episode (" episode" );
48
+ // Audiobook("audiobook"); // TODO Spotify API returns 502 when including this in a search
49
49
}
50
50
51
51
/* *
You can’t perform that action at this time.
0 commit comments