|
18 | 18 | dotnet-version: "6.x" |
19 | 19 | - uses: actions/setup-dotnet@v3 |
20 | 20 | with: |
21 | | - dotnet-version: "7.0.203" |
| 21 | + dotnet-version: "7.x" |
| 22 | + - uses: actions/setup-dotnet@v3 |
| 23 | + with: |
| 24 | + dotnet-version: "8.x" |
22 | 25 | - name: Set RELEASE_VERSION |
23 | 26 | run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV |
24 | 27 | - name: Restore Packages |
@@ -54,23 +57,27 @@ jobs: |
54 | 57 | zip -j SpotifyAPI.Web-net5.0.zip SpotifyAPI.Web/bin/Release/net5.0/* |
55 | 58 | zip -j SpotifyAPI.Web-net6.0.zip SpotifyAPI.Web/bin/Release/net6.0/* |
56 | 59 | zip -j SpotifyAPI.Web-net7.0.zip SpotifyAPI.Web/bin/Release/net7.0/* |
| 60 | + zip -j SpotifyAPI.Web-net8.0.zip SpotifyAPI.Web/bin/Release/net8.0/* |
57 | 61 |
|
58 | 62 | zip -j SpotifyAPI.Web.Auth-netstandard2.0.zip SpotifyAPI.Web.Auth/bin/Release/netstandard2.0/* |
59 | 63 | zip -j SpotifyAPI.Web.Auth-netstandard2.1.zip SpotifyAPI.Web.Auth/bin/Release/netstandard2.1/* |
60 | 64 | zip -j SpotifyAPI.Web.Auth-net5.0.zip SpotifyAPI.Web.Auth/bin/Release/net5.0/* |
61 | 65 | zip -j SpotifyAPI.Web.Auth-net6.0.zip SpotifyAPI.Web.Auth/bin/Release/net6.0/* |
62 | 66 | zip -j SpotifyAPI.Web.Auth-net7.0.zip SpotifyAPI.Web.Auth/bin/Release/net7.0/* |
| 67 | + zip -j SpotifyAPI.Web.Auth-net8.0.zip SpotifyAPI.Web.Auth/bin/Release/net8.0/* |
63 | 68 |
|
64 | 69 | gh release upload "$RELEASE_VERSION" \ |
65 | 70 | "SpotifyAPI.Web-netstandard2.0.zip" \ |
66 | 71 | "SpotifyAPI.Web-netstandard2.1.zip" \ |
67 | 72 | "SpotifyAPI.Web-net5.0.zip" \ |
68 | 73 | "SpotifyAPI.Web-net6.0.zip" \ |
69 | 74 | "SpotifyAPI.Web-net7.0.zip" \ |
| 75 | + "SpotifyAPI.Web-net8.0.zip" \ |
70 | 76 | "SpotifyAPI.Web.Auth-netstandard2.0.zip" \ |
71 | 77 | "SpotifyAPI.Web.Auth-netstandard2.1.zip" \ |
72 | 78 | "SpotifyAPI.Web.Auth-net5.0.zip" \ |
73 | 79 | "SpotifyAPI.Web.Auth-net6.0.zip" \ |
74 | 80 | "SpotifyAPI.Web.Auth-net7.0.zip" |
| 81 | + "SpotifyAPI.Web.Auth-net8.0.zip" |
75 | 82 | env: |
76 | 83 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments