diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 66a4a32..db0ed62 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,7 @@ on: branches: [ master, publish_test ] jobs: - build_and_test: + build_and_publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -16,27 +16,8 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Build - run: dotnet build --no-restore -# - name: Test -# run: dotnet test --no-build --verbosity normal -# env: -# YandexProxy: ${{secrets.YANDEXPROXYURL}} - publish: - needs: [build_and_test] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Publish NuGet - uses: Rebel028/publish-nuget@v2.6.0 - with: - PROJECT_FILE_PATH: YandexMusicResolver/YandexMusicResolver.csproj - NUGET_KEY: ${{secrets.NUGETAPIKEY}} - NUGET_SOURCE: https://api.nuget.org/v3 - THOW_ERROR_IF_VERSION_EXISTS: false - - name: Publish Github Packages - uses: Rebel028/publish-nuget@v2.6.0 - with: - PROJECT_FILE_PATH: YandexMusicResolver/YandexMusicResolver.csproj - NUGET_KEY: ${{secrets.GITHUB_TOKEN}} - NUGET_SOURCE: https://nuget.pkg.github.com/SKProCH - THOW_ERROR_IF_VERSION_EXISTS: false \ No newline at end of file + run: dotnet build --no-restore --configuration Release + - name: Publish to Nuget + run: dotnet nuget push "YandexMusicResolver/bin/Release/*.nupkg" --api-key ${{secrets.NUGETAPIKEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate + - name: Publish to GitHub Packages + run: dotnet nuget push "YandexMusicResolver/bin/Release/*.nupkg" --api-key ${{secrets.GITHUB_TOKEN}} --source https://nuget.pkg.github.com/SKProCH/index.json --skip-duplicate \ No newline at end of file diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 08e9e33..74114ad 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,3 +1,6 @@ +# v2.2.1 +- Add some missing xml docs + # v2.2.0 - Add ArtworkUrl to TrackInfo and mark Metadata obsolete, mark IsStream obsolete - Add default codec to GetDirectUrl diff --git a/YandexMusicResolver/YandexMusicResolver.csproj b/YandexMusicResolver/YandexMusicResolver.csproj index 127dc86..bb8731b 100644 --- a/YandexMusicResolver/YandexMusicResolver.csproj +++ b/YandexMusicResolver/YandexMusicResolver.csproj @@ -12,7 +12,7 @@ A library aimed at searching, resolving and getting direct links to tracks, playlists or albums in Yandex.Music. Can work without authorization. Git https://github.com/SKProCH/YandexMusicResolver - 2.2.0 + 2.2.1 https://github.com/SKProCH/YandexMusicResolver/blob/master/LICENSE Please write the package release notes in “RELEASE NOTES.md” diff --git a/YandexMusicResolver/YandexMusicResolver.xml b/YandexMusicResolver/YandexMusicResolver.xml index a1fc583..dc65616 100644 --- a/YandexMusicResolver/YandexMusicResolver.xml +++ b/YandexMusicResolver/YandexMusicResolver.xml @@ -326,6 +326,14 @@ Track factory to create YandexMusicTrack from AudioTrackInfo Playlist instance + + + Loads the album from Yandex Music + + Target album id + Track factory to create YandexMusicTrack from AudioTrackInfo + Playlist instance + Represents search on Yandex Music @@ -703,6 +711,16 @@ Instance of Instance of + + + Initializes a new instance of the class. + + Yandex config instance + Instance of + Instance of + Instance of + Instance of + Is query in can be resolved with search