Skip to content

Commit 0fc47d8

Browse files
committed
Add net7.0 support to CI/CD pipeline
1 parent 74f3f52 commit 0fc47d8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/cicd.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- uses: actions/setup-dotnet@v1
2020
with:
2121
dotnet-version: "6.0.x"
22+
- uses: actions/setup-dotnet@v1
23+
with:
24+
dotnet-version: "7.0.x"
2225
- name: Set RELEASE_VERSION
2326
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2427
- name: Restore Packages
@@ -50,18 +53,22 @@ jobs:
5053
zip -j SpotifyAPI.Web-netstandard2.1.zip SpotifyAPI.Web/bin/Release/netstandard2.1/*
5154
zip -j SpotifyAPI.Web-net5.0.zip SpotifyAPI.Web/bin/Release/net5.0/*
5255
zip -j SpotifyAPI.Web-net6.0.zip SpotifyAPI.Web/bin/Release/net6.0/*
56+
zip -j SpotifyAPI.Web-net7.0.zip SpotifyAPI.Web/bin/Release/net7.0/*
5357
5458
zip -j SpotifyAPI.Web.Auth-netstandard2.1.zip SpotifyAPI.Web.Auth/bin/Release/netstandard2.1/*
5559
zip -j SpotifyAPI.Web.Auth-net5.0.zip SpotifyAPI.Web.Auth/bin/Release/net5.0/*
5660
zip -j SpotifyAPI.Web.Auth-net6.0.zip SpotifyAPI.Web.Auth/bin/Release/net6.0/*
61+
zip -j SpotifyAPI.Web.Auth-net7.0.zip SpotifyAPI.Web.Auth/bin/Release/net7.0/*
5762
5863
hub release edit \
5964
-a "SpotifyAPI.Web-netstandard2.1.zip" \
6065
-a "SpotifyAPI.Web-net5.0.zip" \
6166
-a "SpotifyAPI.Web-net6.0.zip" \
67+
-a "SpotifyAPI.Web-net7.0.zip" \
6268
-a "SpotifyAPI.Web.Auth-netstandard2.1.zip" \
6369
-a "SpotifyAPI.Web.Auth-net5.0.zip" \
6470
-a "SpotifyAPI.Web.Auth-net6.0.zip" \
71+
-a "SpotifyAPI.Web.Auth-net7.0.zip" \
6572
-m "" "$RELEASE_VERSION"
6673
env:
6774
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)