@@ -15,10 +15,10 @@ jobs:
1515 dotnet-version : " 3.1.x"
1616 - uses : actions/setup-dotnet@v1
1717 with :
18- dotnet-version : " 2.2 .x"
18+ dotnet-version : " 5.0 .x"
1919 - uses : actions/setup-dotnet@v1
2020 with :
21- dotnet-version : " 5 .0.x"
21+ dotnet-version : " 6 .0.x"
2222 - name : Set RELEASE_VERSION
2323 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2424 - name : Restore Packages
@@ -47,21 +47,21 @@ jobs:
4747 - name : Upload to GH Release
4848 if : startsWith( github.ref, 'refs/tags/')
4949 run : |
50- zip -j SpotifyAPI.Web-netstandard2.0.zip SpotifyAPI.Web/bin/Release/netstandard2.0/*
5150 zip -j SpotifyAPI.Web-netstandard2.1.zip SpotifyAPI.Web/bin/Release/netstandard2.1/*
5251 zip -j SpotifyAPI.Web-net5.0.zip SpotifyAPI.Web/bin/Release/net5.0/*
52+ zip -j SpotifyAPI.Web-net6.0.zip SpotifyAPI.Web/bin/Release/net6.0/*
5353
54- zip -j SpotifyAPI.Web.Auth-netstandard2.0.zip SpotifyAPI.Web.Auth/bin/Release/netstandard2.0/*
5554 zip -j SpotifyAPI.Web.Auth-netstandard2.1.zip SpotifyAPI.Web.Auth/bin/Release/netstandard2.1/*
5655 zip -j SpotifyAPI.Web.Auth-net5.0.zip SpotifyAPI.Web.Auth/bin/Release/net5.0/*
56+ zip -j SpotifyAPI.Web.Auth-net6.0.zip SpotifyAPI.Web.Auth/bin/Release/net6.0/*
5757
5858 hub release edit \
59- -a "SpotifyAPI.Web-netstandard2.0.zip" \
6059 -a "SpotifyAPI.Web-netstandard2.1.zip" \
6160 -a "SpotifyAPI.Web-net5.0.zip" \
62- -a "SpotifyAPI.Web.Auth-netstandard2 .0.zip" \
61+ -a "SpotifyAPI.Web-net6 .0.zip" \
6362 -a "SpotifyAPI.Web.Auth-netstandard2.1.zip" \
6463 -a "SpotifyAPI.Web.Auth-net5.0.zip" \
64+ -a "SpotifyAPI.Web.Auth-net6.0.zip" \
6565 -m "" "$RELEASE_VERSION"
6666 env :
6767 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments