From 0fc47d867ba7011acdbccef354c02b42ced3573a Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Fri, 18 Nov 2022 11:52:00 +0100 Subject: [PATCH] Add net7.0 support to CI/CD pipeline --- .github/workflows/cicd.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 4dbc169c..7793d8e2 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -19,6 +19,9 @@ jobs: - uses: actions/setup-dotnet@v1 with: dotnet-version: "6.0.x" + - uses: actions/setup-dotnet@v1 + with: + dotnet-version: "7.0.x" - name: Set RELEASE_VERSION run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Restore Packages @@ -50,18 +53,22 @@ jobs: zip -j SpotifyAPI.Web-netstandard2.1.zip SpotifyAPI.Web/bin/Release/netstandard2.1/* zip -j SpotifyAPI.Web-net5.0.zip SpotifyAPI.Web/bin/Release/net5.0/* zip -j SpotifyAPI.Web-net6.0.zip SpotifyAPI.Web/bin/Release/net6.0/* + zip -j SpotifyAPI.Web-net7.0.zip SpotifyAPI.Web/bin/Release/net7.0/* zip -j SpotifyAPI.Web.Auth-netstandard2.1.zip SpotifyAPI.Web.Auth/bin/Release/netstandard2.1/* zip -j SpotifyAPI.Web.Auth-net5.0.zip SpotifyAPI.Web.Auth/bin/Release/net5.0/* zip -j SpotifyAPI.Web.Auth-net6.0.zip SpotifyAPI.Web.Auth/bin/Release/net6.0/* + zip -j SpotifyAPI.Web.Auth-net7.0.zip SpotifyAPI.Web.Auth/bin/Release/net7.0/* hub release edit \ -a "SpotifyAPI.Web-netstandard2.1.zip" \ -a "SpotifyAPI.Web-net5.0.zip" \ -a "SpotifyAPI.Web-net6.0.zip" \ + -a "SpotifyAPI.Web-net7.0.zip" \ -a "SpotifyAPI.Web.Auth-netstandard2.1.zip" \ -a "SpotifyAPI.Web.Auth-net5.0.zip" \ -a "SpotifyAPI.Web.Auth-net6.0.zip" \ + -a "SpotifyAPI.Web.Auth-net7.0.zip" \ -m "" "$RELEASE_VERSION" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}