mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-16 23:13:07 +01:00
Start configuring Nuget package publish
This commit is contained in:
parent
8d09f8114c
commit
1764fb9d35
5
.github/workflows/next.yml
vendored
5
.github/workflows/next.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Build + Publish Release
|
||||
name: Build next branch
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -22,4 +22,5 @@ jobs:
|
||||
- name: Test
|
||||
run: dotnet test --no-restore --verbosity normal
|
||||
- name: Pack
|
||||
run: dotnet pack -c Release --no-build --include-source /p:VersionSuffix=next
|
||||
run: dotnet pack -c Release --no-build --include-source -o ./tmp --version-suffix ${{ GITHUB_SHA }}
|
||||
# TODO publish to myget feed
|
||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Build + Publish Release
|
||||
name: Build release branch
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -22,4 +22,6 @@ jobs:
|
||||
- name: Test
|
||||
run: dotnet test --no-restore --verbosity normal
|
||||
- name: Pack
|
||||
run: dotnet pack -c Release --no-build --include-source
|
||||
run: dotnet pack -c Release --no-build --include-source -o ./tmp
|
||||
- name: Publish
|
||||
run: dotnet nuget push ./temp/Inflatable.Lastfm*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicates
|
||||
|
@ -11,6 +11,8 @@
|
||||
<PackageProjectUrl>https://github.com/inflatablefriends/lastfm</PackageProjectUrl>
|
||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||
<PackageTags>lastfm last.fm inflatable friends sdk api music metadata scrobble scrobbling portable netstandard</PackageTags>
|
||||
<IncludeSymbols>true</IncludeSymbols>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user