Skip to content

Commit 0a6e848

Browse files
committed
try publish again
1 parent 1a95e2c commit 0a6e848

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
uses: actions/setup-dotnet@v1
1818
with:
1919
dotnet-version: 8.0.x
20+
env:
21+
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
2022
- name: Restore dependencies
2123
run: |
2224
dotnet restore src/S7CommPlusDriver
@@ -36,12 +38,6 @@ jobs:
3638
dotnet build src/S7CommPlusDriver
3739
dotnet build src/DriverTest
3840
dotnet build src/S7CommPlusGUIBrowser
39-
40-
- name: Publish NuGet
41-
# You may pin to the exact commit or the version.
42-
# uses: brandedoutcast/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc
43-
uses: brandedoutcast/[email protected]
44-
with:
45-
# Filepath of the project to be packaged, relative to root of repository
46-
PROJECT_FILE_PATH: src/S7CommPlusDriver/S7CommPlusDriver.csproj"
47-
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
41+
- name: Publish
42+
run: |
43+
dotnet publish src/S7CommPlusDriver

0 commit comments

Comments
 (0)