Skip to content

Commit 2c063c2

Browse files
committed
Modify Actions
1 parent 5ae1db6 commit 2c063c2

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,21 @@ jobs:
9898

9999
deploy:
100100
name: Deploy Package
101-
runs-on: windows-latest
102-
needs: [build, publish-github]
101+
runs-on: ubuntu-latest
102+
needs: [build]
103103
if: github.event_name == 'release'
104104

105105
steps:
106+
- name: Setup .NET
107+
uses: actions/setup-dotnet@v4
108+
with:
109+
dotnet-version: 8.x
110+
106111
- name: Download packages
107112
uses: actions/download-artifact@v4
108113
with:
109114
name: Packages
110115
path: Packages
111116

112-
- name: Setup .NET Core
113-
uses: actions/setup-dotnet@v4
114-
115117
- name: Publish NuGet Package
116118
run: dotnet nuget push "Packages/*.nupkg" --skip-duplicate --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)