Skip to content

Commit 7a6fb93

Browse files
committed
added nuget publish
1 parent fb3597e commit 7a6fb93

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ jobs:
1919
run: dotnet build --configuration Release /p:Version=${VERSION}
2020
- name: Test
2121
run: dotnet test --configuration Release /p:Version=${VERSION} --no-build
22-
- name: Pack
23-
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
24-
- name: Push
25-
run: dotnet nuget push FroniusSolarClient.Core.${VERSION}.nupkg --source https://nuget.pkg.github.com/acraven/index.json --api-key ${GITHUB_TOKEN}
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
- name: Publish FroniusSolarClient
23+
uses: brandedoutcast/[email protected]
24+
with:
25+
PROJECT_FILE_PATH: FroniusSolarClient/FroniusSolarClient.csproj
26+
NUGET_KEY: ${{secrets.NUGET_API_KEY}}

0 commit comments

Comments
 (0)