Skip to content

Commit 6284918

Browse files
committed
fix: remove obsolete build and release workflow for VSIX extension
1 parent 4077e46 commit 6284918

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,18 @@ jobs:
166166
uses: actions/setup-dotnet@v4
167167
with:
168168
dotnet-version: 9.0.x
169-
- name: Publish NuGet package
169+
170+
- name: Publish NuGet package to NuGet.org
170171
run: |
171172
foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {
172173
dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
173174
}
174175
175-
- name: Create GitHub Release
176-
uses: softprops/action-gh-release@v2
177-
with:
178-
files: ${{ env.NuGetDirectory }}/*.nupkg
179-
generate_release_notes: true
180-
make_latest: true
176+
- name: Publish to GitHub Packages
177+
run: |
178+
foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {
179+
Write-Host "Publishing $($file.Name) to GitHub Packages..."
180+
dotnet nuget push $file --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --skip-duplicate
181+
}
182+
env:
183+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)