Skip to content

Commit 46be74a

Browse files
committed
fix build: switch from hub to gh cli
1 parent 94b2978 commit 46be74a

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/cicd.yaml

+11-12
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,16 @@ jobs:
6161
zip -j SpotifyAPI.Web.Auth-net6.0.zip SpotifyAPI.Web.Auth/bin/Release/net6.0/*
6262
zip -j SpotifyAPI.Web.Auth-net7.0.zip SpotifyAPI.Web.Auth/bin/Release/net7.0/*
6363
64-
hub release edit \
65-
-a "SpotifyAPI.Web-netstandard2.0.zip" \
66-
-a "SpotifyAPI.Web-netstandard2.1.zip" \
67-
-a "SpotifyAPI.Web-net5.0.zip" \
68-
-a "SpotifyAPI.Web-net6.0.zip" \
69-
-a "SpotifyAPI.Web-net7.0.zip" \
70-
-a "SpotifyAPI.Web.Auth-netstandard2.0.zip" \
71-
-a "SpotifyAPI.Web.Auth-netstandard2.1.zip" \
72-
-a "SpotifyAPI.Web.Auth-net5.0.zip" \
73-
-a "SpotifyAPI.Web.Auth-net6.0.zip" \
74-
-a "SpotifyAPI.Web.Auth-net7.0.zip" \
75-
-m "" "$RELEASE_VERSION"
64+
gh release upload "$RELEASE_VERSION" \
65+
"SpotifyAPI.Web-netstandard2.0.zip" \
66+
"SpotifyAPI.Web-netstandard2.1.zip" \
67+
"SpotifyAPI.Web-net5.0.zip" \
68+
"SpotifyAPI.Web-net6.0.zip" \
69+
"SpotifyAPI.Web-net7.0.zip" \
70+
"SpotifyAPI.Web.Auth-netstandard2.0.zip" \
71+
"SpotifyAPI.Web.Auth-netstandard2.1.zip" \
72+
"SpotifyAPI.Web.Auth-net5.0.zip" \
73+
"SpotifyAPI.Web.Auth-net6.0.zip" \
74+
"SpotifyAPI.Web.Auth-net7.0.zip"
7675
env:
7776
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)