Skip to content

Commit

Permalink
Merge branch 'release/2.2.1' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Jan 28, 2021
2 parents 5f14657 + 5d8e679 commit f410e08
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
31 changes: 6 additions & 25 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
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/[email protected]
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
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
3 changes: 3 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion YandexMusicResolver/YandexMusicResolver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Description>A library aimed at searching, resolving and getting direct links to tracks, playlists or albums in Yandex.Music. Can work without authorization.</Description>
<RepositoryType>Git</RepositoryType>
<PackageProjectUrl>https://github.com/SKProCH/YandexMusicResolver</PackageProjectUrl>
<Version>2.2.0</Version>
<Version>2.2.1</Version>
<PackageLicenseUrl>https://github.com/SKProCH/YandexMusicResolver/blob/master/LICENSE</PackageLicenseUrl>
<PackageReleaseNotes>Please write the package release notes in “RELEASE NOTES.md”</PackageReleaseNotes>

Expand Down
18 changes: 18 additions & 0 deletions YandexMusicResolver/YandexMusicResolver.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f410e08

Please sign in to comment.